forked from idaholab/NPD_Hydro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.local.yaml
More file actions
45 lines (45 loc) · 1.01 KB
/
Copy pathdocker-compose.local.yaml
File metadata and controls
45 lines (45 loc) · 1.01 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
version: "3.7"
services:
app:
build:
context: "./app"
dockerfile: "./Dockerfiles/Dockerfile.local"
command: ["npm", "run", "dev"]
environment:
- WATCHPACK_POLLING=true
ports:
- "3000:3000"
volumes:
- "./app:/usr/src/app"
- /usr/src/app/node_modules
django:
build:
context: ./server
dockerfile: ./Dockerfiles/Dockerfile.local
entrypoint: ./entrypoint.local.sh
ports:
- "8000:8000"
volumes:
- "./server:/usr/src/server"
env_file:
- ./server/server/.env.local
depends_on:
- npd_db
- npd_questionnaire
npd_db:
build:
context: ./gdb
dockerfile: ./Dockerfiles/Dockerfile.npd.prod
restart: always
ports:
- "5432:5432"
env_file:
- ./gdb/environment/.env.local.npd
npd_questionnaire:
build:
context: ./gdb
dockerfile: ./Dockerfiles/Dockerfile.questionnaire.prod
ports:
- "5433:5432"
env_file:
- ./gdb/environment/.env.local.questionnaire