| 12345678910111213141516171819202122232425262728293031323334 |
- version: "3.7"
- #docker network create -d overlay --attachable client-net
- networks:
- client-net:
- external: true
- services:
- daemons:
- image: registry.orbita1.ru/client/supervisord:latest
- deploy:
- mode: global
- endpoint_mode: dnsrr
- update_config:
- parallelism: 1
- failure_action: rollback
- delay: 30s
- restart_policy:
- condition: any
- delay: 5s
- window: 120s
- networks:
- - client-net
- env_file:
- - .env
- environment:
- - SERVICE_IGNORE=true
- - LOG_OUTPUT=gelf
- logging:
- driver: "json-file"
- options:
- max-size: "12m"
- max-file: "5"
|