services: app: build: . restart: unless-stopped ports: - "8606:80" expose: - "3000" env_file: .env nginx: image: nginx:alpine volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro depends_on: - app network_mode: "service:app" restart: unless-stopped