diff --git a/docker-compose.yaml b/docker-compose.yaml index c12e473..ac07265 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,32 +4,20 @@ services: container_name: pihole hostname: pihole restart: unless-stopped - env_file: - .env - ports: - "53:53/tcp" - "53:53/udp" - "8080:80" - environment: TZ: ${TZ} WEBPASSWORD: ${WEBPASSWORD} PIHOLE_DNS_: ${PIHOLE_DNS_} DNSMASQ_LISTENING: all - + FTLCONF_dns_listeningMode: all volumes: - - etc-pihole:/etc/pihole - - /etc/dnsmasq.d/address.d:/etc/dnsmasq.d - + - ./etc-pihole:/etc/pihole + - /etc/dnsmasq.d:/etc/dnsmasq.d cap_add: - NET_ADMIN - - # viktig hvis du senere kombinerer med WireGuard - dns: - - 127.0.0.1 - - 1.1.1.1 - -volumes: - etc-pihole: