Compare commits

..

No commits in common. "master" and "d78bb3dc565811abe66e59fe4db96e08d668171e" have entirely different histories.

3 changed files with 4 additions and 8 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
data
.env

View File

@ -1,5 +1,5 @@
# PiHole Deployment
For a local Træfik installation with self-signed certificates, comment out the "certresolver=letsencrypt" line.<br/>
For a local installation without Træfik, simply add "80:80/tcp" in the ports section.<br/>
For a local Træfik installation with self-signed certificates, comment out the "certresolver=letsencrypt" line.
For a local installation without Træfik, simply add "80:80/tcp" in the ports section.
DHCP is provided from the router/firewall, if providing DHCP from PiHole is needed, add "cap_add: NET_ADMIN" at the end of the "pihole" service.

View File

@ -6,8 +6,8 @@ services:
container_name: ${PH_CONTAINER_NAME}
restart: unless-stopped
environment:
- TZ="${PH_TIMEZONE}"
- WEBPASSWORD="${PH_WEBPASSWORD}"
- TZ: "${PH_TIMEZONE}"
- WEBPASSWORD: "${PH_WEPASSWORD}"
labels:
- traefik.enable=true
- traefik.docker.network=traefik-proxy
@ -25,8 +25,6 @@ services:
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=letsencrypt
# specify a service so a custom port can be used
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
networks:
- traefik-proxy
ports:
- "53:53/tcp"
- "53:53/udp"