Compare commits
No commits in common. "master" and "d78bb3dc565811abe66e59fe4db96e08d668171e" have entirely different histories.
master
...
d78bb3dc56
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
data
|
|
||||||
.env
|
|
@ -1,5 +1,5 @@
|
|||||||
# PiHole Deployment
|
# PiHole Deployment
|
||||||
|
|
||||||
For a local Træfik installation with self-signed certificates, comment out the "certresolver=letsencrypt" line.<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.<br/>
|
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.
|
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.
|
||||||
|
@ -6,8 +6,8 @@ services:
|
|||||||
container_name: ${PH_CONTAINER_NAME}
|
container_name: ${PH_CONTAINER_NAME}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- TZ="${PH_TIMEZONE}"
|
- TZ: "${PH_TIMEZONE}"
|
||||||
- WEBPASSWORD="${PH_WEBPASSWORD}"
|
- WEBPASSWORD: "${PH_WEPASSWORD}"
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.docker.network=traefik-proxy
|
- traefik.docker.network=traefik-proxy
|
||||||
@ -25,8 +25,6 @@ services:
|
|||||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=letsencrypt
|
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=letsencrypt
|
||||||
# specify a service so a custom port can be used
|
# specify a service so a custom port can be used
|
||||||
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
|
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
|
||||||
networks:
|
|
||||||
- traefik-proxy
|
|
||||||
ports:
|
ports:
|
||||||
- "53:53/tcp"
|
- "53:53/tcp"
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
|
Loading…
Reference in New Issue
Block a user