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