-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yaml
40 lines (38 loc) · 978 Bytes
/
docker-compose.dev.yaml
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
services:
frontend:
image: restaurant-frontend-dev
build:
context: ./frontend
dockerfile: docker/Dockerfile.dev
container_name: frontend-container-dev
ports:
- 5000:5000
restart: always
env_file:
- ./frontend/.env
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- backend
networks:
- restaurant_network
backend:
image: restaurant-backend-dev
build:
context: ./backend
dockerfile: docker/Dockerfile.dev
container_name: backend-container-dev
ports:
- 3000:3000
restart: always
env_file:
- ./backend/.env.development
volumes:
- ./backend:/app
- /app/node_modules
networks:
- restaurant_network
networks:
restaurant_network:
driver: bridge