version: "3.4" services: certupdater: image: mathwave/sprint-repo:certupdater command: worker environment: MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD MONGO_PASSWORD: $MONGO_PASSWORD_PROD STAGE: "production" volumes: - /var/run/docker.sock:/var/run/docker.sock networks: - configurator - queues - minio - mongo deploy: mode: replicated restart_policy: condition: any placement: constraints: [node.labels.stage == production] update_config: parallelism: 1 order: start-first networks: configurator: external: true queues: external: true minio: external: true mongo: external: true