Compare commits
5 Commits
d78bb3dc56
...
master
Author | SHA1 | Date | |
---|---|---|---|
5f52e8d3ab | |||
fdbc984b23 | |||
bc1a43b413 | |||
9e57f78488 | |||
27e2a5cc52 |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
data
|
||||
.env
|
@ -1,5 +1,5 @@
|
||||
# PiHole Deployment
|
||||
|
||||
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.
|
||||
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/>
|
||||
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}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ: "${PH_TIMEZONE}"
|
||||
- WEBPASSWORD: "${PH_WEPASSWORD}"
|
||||
- TZ="${PH_TIMEZONE}"
|
||||
- WEBPASSWORD="${PH_WEBPASSWORD}"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=traefik-proxy
|
||||
@ -25,6 +25,8 @@ 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"
|
||||
|
Loading…
Reference in New Issue
Block a user