mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-10-10 16:46:17 +00:00
added pihole
This commit is contained in:
37
pihole/compose.yml
Normal file
37
pihole/compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
# https://pi-hole.net/
|
||||
|
||||
# blocks ads and trackers across your entire network
|
||||
|
||||
# should not be run at the same time as adguard!
|
||||
|
||||
name: pihole
|
||||
|
||||
services:
|
||||
pihole:
|
||||
container_name: pihole
|
||||
image: docker.io/pihole/pihole:2024.07.0
|
||||
ports:
|
||||
- 53:53/tcp
|
||||
- 53:53/udp
|
||||
- 67:67/udp
|
||||
- 9002:80/tcp
|
||||
#- 443:443/tcp
|
||||
environment:
|
||||
- TZ=Europe/Vienna
|
||||
- WEBPASSWORD=your-secret-password
|
||||
volumes:
|
||||
- dnsmasq:/etc/dnsmasq.d
|
||||
- etcd:/etc/pihole
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
dnsmasq:
|
||||
driver: local
|
||||
etcd:
|
||||
driver: local
|
||||
|
Reference in New Issue
Block a user