blob: f5a807001f1171df585bd9be826dc4ba873f733a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
services:
pihole:
image: pihole/pihole:2025.11.1
network_mode: service:tailscale
environment:
TZ: "Europe/London"
WEBPASSWORD: "CHANGEME"
FTLCONF_dns_listeningMode: "ALL"
volumes:
- "./etc-pihole:/etc/pihole"
- "./etc-dnsmasq.d:/etc/dnsmasq.d"
restart: unless-stopped
cap_add:
- SYS_NICE
depends_on:
- tailscale
tailscale:
image: tailscale/tailscale:v1.92.4
hostname: pihole
environment:
- TS_AUTH_ONCE="true"
- TS_STATE_DIR=/var/lib/tailscale
volumes:
- ./tailscale-data:/var/lib/tailscale
- /dev/net/tun:/dev/net/tun
cap_add:
- NET_ADMIN
- NET_RAW
restart: unless-stopped
|