diff --git a/docker-compose.yml b/docker-compose.yml index 8ec7083..38f1314 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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