-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 840 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 840 Bytes
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
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "4001:4001"
volumes:
- ./backend/src:/app/src
- ./backend/package.json:/app/package.json
- ./backend/data:/app/data
environment:
- NODE_ENV=development
- PORT=4001
networks:
- slowedlab
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "4000:4000"
volumes:
- ./frontend/src:/app/src
- ./frontend/public:/app/public
- ./frontend/package.json:/app/package.json
environment:
- REACT_APP_API_URL=http://localhost:4001
- CHOKIDAR_USEPOLLING=true
- PORT=4000
depends_on:
- backend
networks:
- slowedlab
stdin_open: true
tty: true
networks:
slowedlab:
driver: bridge