From fa790b3d376028fbec1f28e0f1597a8b6cb8343c Mon Sep 17 00:00:00 2001 From: Arnout van Westen Date: Mon, 5 Oct 2026 09:22:37 +0200 Subject: [PATCH] fix(dnsweaver): own router label + underscore hostnames excluded --- infra/compose.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/infra/compose.yaml b/infra/compose.yaml index 7314290..62a7554 100644 --- a/infra/compose.yaml +++ b/infra/compose.yaml @@ -12,6 +12,10 @@ services: restart: unless-stopped init: true 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: - /var/run/docker.sock:/var/run/docker.sock: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_ZONE: 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: image: quay.io/prometheuscommunity/smartctl-exporter:v0.14.0