-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (42 loc) · 953 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (42 loc) · 953 Bytes
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
volumes:
subs-pgdata:
name: subs-pgdata
subs-kafka-data:
name: subs-kafka-data
services:
aidbox-db:
image: healthsamurai/aidboxdb:16.1
pull_policy: always
ports:
- "5438:5432"
volumes:
- "subs-pgdata:/data:delegated"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: aidbox
aidbox:
image: healthsamurai/aidboxone:edge
pull_policy: always
depends_on: ["aidbox-db"]
volumes:
- "./tmp:/tmp"
ports:
- "8888:8888"
environment:
PGPORT: 5432
PGHOST: aidbox-db
PGHOSTPORT: 5438
PGUSER: postgres
PGPASSWORD: postgres
PGDATABASE: aidbox
AIDBOX_BASE_URL: http://localhost:8888
AIDBOX_PORT: 8888
env_file:
- .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8888/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s