-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·79 lines (72 loc) · 1.72 KB
/
docker-compose.yml
File metadata and controls
executable file
·79 lines (72 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: "3"
services:
labkey:
container_name: labkey
env_file: .env
stdin_open: false
tty: true
build:
context: ./labkey
dockerfile: labkey.dockerfile
args:
- LABKEY_VERSION=${LABKEY_VERSION}
- LABKEY_DIST=${LABKEY_DIST}
- LABKEY_XML=${LABKEY_XML}
ports:
- 8080:8080
networks:
- labkey
depends_on:
- postgresql
volumes:
- ./labkey/data:/usr/local/labkey/files
postgresql:
container_name: labkey-postgresql-data
env_file: .env
image: postgres:latest
restart: always
environment:
POSTGRES_USER: "${DB_USER:-SA}"
POSTGRES_PASSWORD: "${DB_PASSWORD:-labkeyDB}"
POSTGRES_DB: "${DB_NAME}"
ports:
- 5432:5432
networks:
- labkey
volumes:
- postgresql-data:/var/lib/postgresql/data
pgadmin:
container_name: labkey-pgadmin4
image: dpage/pgadmin4
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-pgadmin}
ports:
- "${PGADMIN_PORT:-5050}:80"
networks:
- labkey
depends_on:
- postgresql
volumes:
- pgadmin-config:/root/.pgadmin
rstudio:
container_name: labkey-rstudio
build:
context: ./R
dockerfile: tidyverse.dockerfile
environment:
PASSWORD: ${RSTUDIO_PASSWORD:-letmein}
#default user is: rstudio
volumes:
- ./R:/home/rstudio
networks:
- labkey
ports:
- 8787:8787
networks:
labkey:
driver: bridge
volumes:
postgresql-data:
pgadmin-config: