-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yaml
53 lines (53 loc) · 1.26 KB
/
docker-compose.yaml
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
version: '3.1'
services:
devbox:
image: "healthsamurai/aidboxone:edge"
command: ["wait-for-it.sh", "devbox-db:5432", "--strict", "--timeout=0", "--", "java", "-jar", "/aidbox.jar", "-m", "devbox.core"]
depends_on:
- devbox-db
links:
- "devbox-db:database"
ports:
- "8080:8080"
expose:
- 8080
env_file:
- .env
environment:
PGHOST: database
PGDATABASE: devbox
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: postgres
AIDBOX_FHIR_VERSION: 4.0.0
volumes:
- ./wait-for-it.sh:/usr/local/bin/wait-for-it.sh
- ./config:/var/config
devbox-db:
image: "healthsamurai/aidboxdb:14.2"
expose:
- 5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: devbox
jupyter-course:
image: jupyter/minimal-notebook
ports:
- 8888:8888
depends_on:
- devbox-db
- devbox
command:
- "wait-for-it.sh"
- "devbox:8080"
- "--strict"
- "--timeout=0"
- "--"
- "start-notebook.sh"
- "--NotebookApp.token="
environment:
BOX_URL: ${AIDBOX_BASE_URL}
BOX_AUTHORIZATION: ${AIDBOX_BASIC_AUTH}
volumes:
- ./wait-for-it.sh:/usr/local/bin/wait-for-it.sh