version: "3"
services:
wordpress:
image: Example/wordpress
ports:
- 8080:80
depends_on:
- mysql
deploy:
replicas: 1
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
mysql:
image: mysql:8.0
deploy:
replicas: 1
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
networks:
volumes:
  
