services: erika: build: . restart: unless-stopped expose: - "3000" deploy: replicas: 3 env_file: .env nginx: image: nginx:alpine ports: - "8606:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro depends_on: - erika restart: unless-stopped