add pihole

This commit is contained in:
Karl Hudgell 2023-07-15 14:01:52 +01:00
parent f27bc4d2ab
commit ef95ca6b40

View File

@ -8,6 +8,7 @@ services:
volumes:
- c:\downloads\apps\homepage\config:/app/config # Make sure your local config directory exists
- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
restart: unless-stopped
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
@ -42,7 +43,7 @@ services:
- 'c:\downloads\completed\:/data/downloads'
- 'c:\downloads\apps\rdtclient\config:/data/db'
image: rogerfar/rdtclient
restart: always
restart: unless-stopped
logging:
driver: json-file
options:
@ -83,6 +84,7 @@ services:
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8000:8000/tcp # HTTP proxy
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
@ -90,6 +92,25 @@ services:
- c:\downloads\apps\gluetun\config:/gluetun
environment:
- VPN_SERVICE_PROVIDER=nordvpn
- OPENVPN_USER=abc
- OPENVPN_PASSWORD=abc
- OPENVPN_USER=
- OPENVPN_PASSWORD=
- SERVER_COUNTRIES=Netherlands
restart: unless-stopped
pihole:
container_name: pihole
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "53:53/tcp"
- "53:53/udp"
# - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "7806:80/tcp"
environment:
TZ: 'Europe/London'
volumes:
- 'c:\downloads\apps\pihole\config\phole:/etc/pihole'
- 'c:\downloads\apps\pihole\config\dnsmsq:/etc/dnsmasq.d'
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
# cap_add:
# - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped