fix([2fd8f42]): enforce dedicated docker network for service discovery

This commit is contained in:
2026-02-04 12:16:57 +00:00
parent d63bc64d8a
commit 29c5ba8a87

View File

@@ -7,6 +7,8 @@ services:
- "8002:8000" - "8002:8000"
volumes: volumes:
- ./backend:/app - ./backend:/app
networks:
- heatmap-net
frontend: frontend:
build: ./frontend build: ./frontend
@@ -14,4 +16,13 @@ services:
- "5173:5173" - "5173:5173"
volumes: volumes:
- ./frontend:/app - ./frontend:/app
- /app/frontend/node_modules # prevent host node_modules from overwriting container - /app/frontend/node_modules
networks:
- heatmap-net
depends_on:
- backend
networks:
heatmap-net:
driver: bridge
# prevent host node_modules from overwriting container