-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
51 lines (48 loc) · 1.12 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
version: "3.7"
volumes:
ips_pgdata:
name: ips_pgdata
services:
aidbox-db:
image: healthsamurai/aidboxdb:16.1
pull_policy: always
ports:
- "${PGHOSTPORT}:5432"
volumes:
- "ips_pgdata:/data:delegated"
environment:
POSTGRES_USER: "${PGUSER}"
POSTGRES_PASSWORD: "${PGPASSWORD}"
POSTGRES_DB: "${PGDATABASE}"
aidbox:
image: healthsamurai/aidboxone:edge
pull_policy: always
depends_on: ["aidbox-db", "build-seeds"]
ports:
- "${AIDBOX_PORT}:${AIDBOX_PORT}"
env_file:
- .env
volumes:
- ./zenproject:/zenproject
build-seeds:
image: bedasoftware/fhirsnake:latest
command:
- export
- --output
- /app/zenproject/seeds.ndjson.gz
volumes:
- ./zenproject:/app/zenproject
- ./resources/seeds:/app/resources
node-app:
hostname: node-app
build:
context: ./
dockerfile: Dockerfile.dev
ports:
- 4000:4000
user: node
command: sh -c "rsync -ar /usr/src/app-cache/node_modules/. /usr/src/app/node_modules && pnpm run dev"
env_file:
- .env
volumes:
- ./:/usr/src/app