version: "3"
services:
prestashop:
image: prestashop
ports:
- 80:80
depends_on:
- mariadb
deploy:
replicas: 1
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
mariadb:
image: mariadb
deploy:
replicas: 1
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
phpmyadmin:
image: phpmyadmin
ports:
- 81:80
depends_on:
- mariadb
deploy:
replicas: 1
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
networks:
volumes:
  
