-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
47 lines (45 loc) · 1.18 KB
/
docker-compose.yml
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
version: "3.1"
services:
aidbox-db:
image: healthsamurai/aidboxdb:15.3
ports:
- "${PGHOSTPORT}:5432"
volumes:
- "./pgdata:/data"
environment:
POSTGRES_USER: "${PGUSER}"
POSTGRES_PASSWORD: "${PGPASSWORD}"
POSTGRES_DB: "${PGDATABASE}"
aidbox:
hostname: aidbox
image: healthsamurai/aidboxone:edge
depends_on: [ "aidbox-db" ]
links:
- "aidbox-db:database"
ports:
- "${AIDBOX_PORT}:${AIDBOX_PORT}"
volumes:
- "./zen-project/zrc:/aidbox-project/zrc"
- "./zen-project/zen-package.edn:/aidbox-project/zen-package.edn"
- "./zen-project/zen-packages:/aidbox-project/zen-packages"
env_file:
- .env
environment:
BOX_PROJECT_GIT_TARGET__PATH: /aidbox-project
AIDBOX_ZEN_ENTRYPOINT: system/box
AIDBOX_DEV_MODE: "true"
AIDBOX_ZEN_DEV_MODE: "true"
PGPORT: 5432
PGHOST: aidbox-db
node-app:
hostname: node-app
build:
context: ./backend
dockerfile: Dockerfile.dev
ports:
- 4000:4000
env_file:
- .env
volumes:
- ./backend:/usr/src/app
- ./backend/node_modules:/usr/src/app/node_modules