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