-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yml
48 lines (46 loc) · 1.24 KB
/
docker-compose.dev.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
48
services:
frontend-dev:
build:
context: ./frontend
dockerfile: Dockerfile.dev
args:
- FRONTEND_PORT=${FRONTEND_PORT}
- BACKEND_PORT=${BACKEND_PORT}
- BACKEND_HOST=${BACKEND_HOST}
image: vectorinstitute/clinical-ai-monitor:frontend-dev-${BUILD_ID}
env_file: .env.development
ports:
- "${FRONTEND_PORT}:${FRONTEND_PORT}"
environment:
- NEXT_PUBLIC_BACKEND_HOST=${BACKEND_HOST}
- NEXT_PUBLIC_BACKEND_PORT=${BACKEND_PORT}
- NEXT_PUBLIC_FRONTEND_PORT=${FRONTEND_PORT}
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- backend-dev
networks:
- app-network
backend-dev:
build:
context: ./backend
dockerfile: Dockerfile.dev
args:
- BACKEND_PORT=${BACKEND_PORT}
- FRONTEND_PORT=${FRONTEND_PORT}
image: vectorinstitute/clinical-ai-monitor:backend-dev-${BUILD_ID}
env_file: .env.development
ports:
- "${BACKEND_PORT}:${BACKEND_PORT}"
environment:
- BACKEND_PORT=${BACKEND_PORT}
- FRONTEND_PORT=${FRONTEND_PORT}
- JWT_SECRET_KEY=${JWT_SECRET_KEY}
volumes:
- ./backend:/app
networks:
- app-network
networks:
app-network:
driver: bridge