version: "3"
services:
web:
image: Example/web
ports:
- 5000:5000
depends_on:
- redis
deploy:
replicas: 1
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
redis:
image: redis:alpine
deploy:
replicas: 1
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
datadog:
image: Example/datadog
depends_on:
- redis
- web
deploy:
replicas: 1
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
networks:
volumes:
  
