fix([2fd8f42]): enforce dedicated docker network for service discovery
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user