adding all apps
This commit is contained in:
5
pihole/.env
Normal file
5
pihole/.env
Normal file
@@ -0,0 +1,5 @@
|
||||
# Pi-hole Secrets
|
||||
# Contains sensitive credentials
|
||||
|
||||
# Web Interface Admin Password
|
||||
WEBPASSWORD=JWN4awmK7vYvzhPhiiE7N2Oj2oBsFIPr
|
||||
1
pihole/.env.secret.webpassword
Normal file
1
pihole/.env.secret.webpassword
Normal file
@@ -0,0 +1 @@
|
||||
JWN4awmK7vYvzhPhiiE7N2Oj2oBsFIPr
|
||||
38
pihole/compose.yaml
Normal file
38
pihole/compose.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
services:
|
||||
pihole:
|
||||
image: docker.io/pihole/pihole:2026.02.0
|
||||
restart: unless-stopped
|
||||
container_name: pihole
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
- FTLCONF_webserver_api_password=${WEBPASSWORD}
|
||||
- FTLCONF_misc_etc_dnsmasq_d=true
|
||||
networks:
|
||||
- frontend
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "123:123/udp"
|
||||
volumes:
|
||||
- ./pihole-dnsmasq/:/etc/dnsmasq.d/
|
||||
- pihole-pihole:/etc/pihole
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_TIME
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.services.pihole-web.loadBalancer.server.port=80
|
||||
- traefik.http.routers.pihole-https.service=pihole-web
|
||||
- traefik.http.routers.pihole-https.rule=Host(`pihole.home.sebastiangedigk.com`)
|
||||
- traefik.http.routers.pihole-https.entrypoints=websecure
|
||||
- traefik.http.routers.pihole-https.tls=true
|
||||
- traefik.http.routers.pihole-https.tls.certresolver=cloudflare
|
||||
|
||||
volumes:
|
||||
pihole-pihole:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
1
pihole/pihole-dnsmasq/02-wildcard.conf
Normal file
1
pihole/pihole-dnsmasq/02-wildcard.conf
Normal file
@@ -0,0 +1 @@
|
||||
address=/home.sebastiangedigk.com/192.168.178.68
|
||||
Reference in New Issue
Block a user