-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
31 lines (31 loc) · 944 Bytes
/
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
version: '2.4'
services:
report_backend:
build:
context: ./server/
dockerfile: Dockerfile
ports: [5000:3000]
environment:
- PORT=3000
- HOST=localhost:3000
- NODE_ENV=development
- DEBUG=pw:api
volumes:
- ./server/src:/usr/src/app/src
restart: always
frontend:
build:
context: ./report-frontend/
dockerfile: Dockerfile
ports: [3000:3000]
environment:
- PORT=3000
- HOST=localhost:3000
- NODE_ENV=development
volumes:
- ./report-frontend/components:/usr/src/app/components
- ./report-frontend/pages:/usr/src/app/pages
- ./report-frontend/public:/usr/src/app/public
- ./report-frontend/styles:/usr/src/app/styles
restart: always
depends_on: [report_backend]