-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
37 lines (33 loc) · 824 Bytes
/
docker-compose.dev.yml
File metadata and controls
37 lines (33 loc) · 824 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
services:
backend-dev:
build:
context: ./backend
dockerfile: Dockerfile.dev
volumes:
- ./backend:/app/
ports:
- "${DEV_BACKEND_PORT:-${BACKEND_PORT:-8000}}:8000"
networks:
- app-network
frontend-dev:
build:
context: ./frontend
dockerfile: Dockerfile.dev
environment:
- API_URL=${DEV_API_URL:-${API_URL:-http://backend-dev:8000}}
- NODE_ENV=${NODE_ENV:-development}
- NEXT_PUBLIC_API_URL=${DEV_NEXT_PUBLIC_API_URL:-${NEXT_PUBLIC_API_URL:-http://localhost:8000}}
depends_on:
- backend-dev
ports:
- "${DEV_FRONTEND_PORT:-${FRONTEND_PORT:-3000}}:3000"
volumes:
- ./frontend:/app
- /app/node_modules
networks:
- app-network
volumes:
tiles-data:
networks:
app-network:
driver: bridge