Hi everyone, my setup was working fine until I migrated, here is the docker-compose:
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/udp"
- "53:53/tcp"
environment:
TZ: 'Europe/Lisbon'
DNS1: unbound#53
DNS2: "no"
VIRTUAL_HOST: "DOMAIN HERE"
cap_add:
- NET_ADMIN
networks:
- proxy-network
volumes:
- '/home/aikoo7/.docker/pihole/etc/pihole:/etc/pihole'
- '/home/aikoo7/.docker/pihole/etc/dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.pihole.rule=Host(`pihole.aikoo7.duckdns.org`)"
- "traefik.http.routers.pihole.entrypoints=websecure"
- "traefik.http.services.pihole.loadbalancer.server.port=80"
unbound:
image: mvance/unbound-rpi:latest
container_name: unbound
restart: unless-stopped
networks:
- proxy-network
volumes:
- /home/aikoo7/.docker/unbound/:/opt/unbound/etc/unbound/
networks:
proxy-network:
external: true
My token: https://tricorder.pi-hole.net/LNNbKUXn/
NOTE: The following token comes from a stock installation for easier debugging.