Files
homelab/quadlets/pihole.container
2024-01-31 13:23:24 -05:00

19 lines
370 B
Plaintext

[Unit]
Wants=network-online.target
[Container]
ContainerName=pihole
Environment=TZ=America/Chicago "WEBPASSWORD=SET A PASSWORD HERE"
Image=pihole/pihole:latest
PublishPort=0.0.0.0:53:53/tcp
PublishPort=0.0.0.0:53:53/udp
PublishPort=0.0.0.0:8081:80/tcp
Volume=pihole:/etc/pihole
Volume=dnsmasq:/etc/dnsmasq.d
[Service]
Restart=always
[Install]
WantedBy=default.target