diff --git a/__swarm/pihole/pihole-swarm.yml b/__swarm/pihole/pihole-swarm.yml index a684632..b886332 100644 --- a/__swarm/pihole/pihole-swarm.yml +++ b/__swarm/pihole/pihole-swarm.yml @@ -1,7 +1,7 @@ volumes: - pihole_etc_pihole: + data:: driver: local - pihole_etc_dnsmasq_d: + dnsmasq_d: driver: local networks: @@ -12,7 +12,7 @@ networks: config: - subnet: 192.168.78.0/24 services: - pihole: + app: cap_add: - NET_ADMIN - SYS_TIME @@ -41,12 +41,12 @@ services: protocol: tcp mode: ingress volumes: - - pihole_etc_pihole:/etc/pihole - - pihole_etc_dnsmasq_d:/etc/dnsmasq.d + - data:/etc/pihole + - dnsmasq_d:/etc/dnsmasq.d deploy: labels: com.centurylinklabs.watchtower.enable: 'true' - homepage.container: pihole + homepage.container: pihole_app homepage.description: Add blocker homepage.group: Infrastructure homepage.href: https://active.home.lan:9343/admin