This is based on the application template that is in the Container Station, but uses the latest version of the pihole image.
Created
November 14, 2024 20:19
-
-
Save housser/0264cea27bc98ae4f2e9ebff9b64075e to your computer and use it in GitHub Desktop.
Running pihole on Qnap NAS with Container Station
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
pihole: | |
image: pihole/pihole:latest | |
networks: | |
qnet-network: | |
ipv4_address: 10.0.0.100 | |
environment: | |
WEBPASSWORD: ${WEB_PASSWORD} | |
TZ: America/Vancouver | |
volumes: | |
- etc-pihole:/etc/pihole | |
- etc-dnsmasq.d:/etc/dnsmasq.d | |
restart: unless-stopped | |
networks: | |
qnet-network: | |
driver_opts: | |
iface: eth0 | |
driver: qnet | |
ipam: | |
driver: qnet | |
options: | |
iface: eth0 | |
config: | |
- subnet: 10.0.0.0/24 | |
gateway: 10.0.0.1 | |
volumes: | |
etc-pihole: | |
etc-dnsmasq.d: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment