corrected yaml

This commit is contained in:
root 2023-10-29 00:41:41 +00:00
parent d53ac21adb
commit 9f176e12e8
1 changed files with 7 additions and 9 deletions

View File

@ -51,14 +51,17 @@ services:
# restart: unless-stopped
# volumes:
# config:
networks:
- default
- traefik
dns:
- 1.1.1.1
- 9.9.9.9
deploy:
replicas: 1
placement:
constraints:
# - node.labels.role == db
- node.hostname == ingress.nixc.us
# - node.labels.dns == true
labels:
# - "us.nixc.autodeploy=true"
- "traefik.enable=true"
@ -70,12 +73,7 @@ services:
- "traefik.http.routers.nameserver1.service=nameserver1"
- "traefik.docker.network=traefik"
# - 'traefik.http.routers.nameserver1.middlewares=authelia@docker'
networks:
- default
- traefik
dns:
- 1.1.1.1
- 9.9.9.9
update_config:
order: stop-first
failure_action: rollback