fix(dnsweaver): own router label + underscore hostnames excluded

This commit is contained in:
Arnout van Westen committed 2026-10-05 09:22:37 +02:00
1 parent 0eb590f455
commit fa790b3d37
1 file changed
+8 -1
+8 -1
View File
@@ -12,6 +12,10 @@ services:
restart: unless-stopped restart: unless-stopped
init: true init: true
network_mode: bridge network_mode: bridge
labels:
- traefik.enable=true
- traefik.http.routers.dnsweaver.rule=Host(`dnsweaver.arnoutvw.nl`)
- traefik.http.services.dnsweaver.loadbalancer.server.port=8080
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- /mnt/user/appdata/traefik/fileConfig.yml:/etc/traefik/fileConfig.yml:ro - /mnt/user/appdata/traefik/fileConfig.yml:/etc/traefik/fileConfig.yml:ro
@@ -30,7 +34,10 @@ services:
DNSWEAVER_ADGUARD_TARGET: 192.168.10.144 DNSWEAVER_ADGUARD_TARGET: 192.168.10.144
DNSWEAVER_ADGUARD_ZONE: arnoutvw.nl DNSWEAVER_ADGUARD_ZONE: arnoutvw.nl
DNSWEAVER_ADGUARD_DOMAINS: "*.arnoutvw.nl" DNSWEAVER_ADGUARD_DOMAINS: "*.arnoutvw.nl"
DNSWEAVER_ADGUARD_EXCLUDE_DOMAINS: postgres14.arnoutvw.nl,mariadb.arnoutvw.nl,redis.arnoutvw.nl,postgresql17.arnoutvw.nl,komodo-mongo.arnoutvw.nl,bookorbit-db.arnoutvw.nl,immich_postgres.arnoutvw.nl,dawarich_db.arnoutvw.nl,dawarich_redis.arnoutvw.nl,dawarich_sidekiq.arnoutvw.nl,influxdb-1.8.arnoutvw.nl,newt.arnoutvw.nl,newt-secondary.arnoutvw.nl,komodo-periphery.arnoutvw.nl,dockersocket.arnoutvw.nl,subsyncarr.arnoutvw.nl,wordpress-blues.arnoutvw.nl DNSWEAVER_ADGUARD_EXCLUDE_DOMAINS: postgres14.arnoutvw.nl,mariadb.arnoutvw.nl,redis.arnoutvw.nl,postgresql17.arnoutvw.nl,komodo-mongo.arnoutvw.nl,bookorbit-db.arnoutvw.nl,immich_postgres.arnoutvw.nl,immich_machine_learning.arnoutvw.nl,postgres_exporter.arnoutvw.nl,dawarich_db.arnoutvw.nl,dawarich_redis.arnoutvw.nl,dawarich_sidekiq.arnoutvw.nl,influxdb-1.8.arnoutvw.nl,newt.arnoutvw.nl,newt-secondary.arnoutvw.nl,komodo-periphery.arnoutvw.nl,dockersocket.arnoutvw.nl,subsyncarr.arnoutvw.nl,wordpress-blues.arnoutvw.nl
# underscore hostnames (immich_machine_learning, postgres_exporter) are
# invalid DNS labels for dnsweaver — they resolve via the static rewrites
# and their traefik routes work, so they stay excluded instead.
smartctl-exporter: smartctl-exporter:
image: quay.io/prometheuscommunity/smartctl-exporter:v0.14.0 image: quay.io/prometheuscommunity/smartctl-exporter:v0.14.0