Files
weather-app/docker-compose.yml

34 lines
627 B
YAML

services:
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
weather-local:
external: false