version: "3.4" services: bot: image: mathwave/sprint-repo:roulette-bot command: bot networks: - net - common-infra-nginx environment: TELEGRAM_TOKEN: $TELEGRAM_TOKEN_PROD MONGO_HOST: "mongo.sprinthub.ru" MONGO_PASSWORD: $MONGO_PASSWORD_PROD MINIO_HOST: "minio.sprinthub.ru" MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD deploy: mode: replicated restart_policy: condition: any update_config: parallelism: 1 order: start-first networks: net: driver: overlay common-infra-nginx: external: true