Update docker-swarm.yml
This commit is contained in:
committed by
GitHub
parent
ee79bbebe5
commit
8a70a14aec
@@ -21,7 +21,15 @@ services:
|
||||
WORDPRESS_DB_HOST: db:3306
|
||||
WORDPRESS_DB_USER: wordpress
|
||||
WORDPRESS_DB_PASSWORD: wordpress
|
||||
labels:
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 10s
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
labels:
|
||||
- "traefik.docker.network=dmz"
|
||||
- "traefik.port=80"
|
||||
- "traefik.enable=true"
|
||||
|
||||
Reference in New Issue
Block a user