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