refactor: uncomment frontend service configuration in docker-compose.yml
This commit is contained in:
@@ -1,26 +1,33 @@
|
|||||||
services:
|
services:
|
||||||
# frontend:
|
frontend:
|
||||||
# container_name: weather-frontend
|
container_name: weather-frontend
|
||||||
# build: ./frontend
|
build: ./frontend
|
||||||
# ports:
|
ports:
|
||||||
# - "7002:7002"
|
- "7002:7002"
|
||||||
# # networks:
|
networks:
|
||||||
# # - proxynet
|
- proxynet
|
||||||
# environment:
|
- weather-local
|
||||||
# - CHOKIDAR_USEPOLLING=true
|
environment:
|
||||||
# volumes:
|
- CHOKIDAR_USEPOLLING=true
|
||||||
# - ./frontend:/app
|
volumes:
|
||||||
# - /app/node_modules
|
- ./frontend:/app
|
||||||
# restart: unless-stopped
|
- /app/node_modules
|
||||||
|
restart: unless-stopped
|
||||||
backend:
|
backend:
|
||||||
container_name: weather-backend
|
container_name: weather-backend
|
||||||
build: ./backend
|
build: ./backend
|
||||||
|
networks:
|
||||||
|
- proxynet
|
||||||
|
- weather-local
|
||||||
ports:
|
ports:
|
||||||
- "7001:7001"
|
- "7001:7001"
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend:/app
|
- ./backend:/app
|
||||||
- /app/node_modules
|
- /app/node_modules
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#networks:
|
|
||||||
# proxynet:
|
networks:
|
||||||
# external: true
|
proxynet:
|
||||||
|
external: true
|
||||||
|
weather-local:
|
||||||
|
external: false
|
||||||
|
Reference in New Issue
Block a user