-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
61 lines (56 loc) · 1.29 KB
/
docker-compose.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: "3"
services:
torproxy:
image: ghcr.io/cyberworm-uk/tor-client:latest # https://github.com/cyberworm-uk/tortainer
restart: unless-stopped
volumes:
- type: volume
source: var-lib-tor
target: /var/lib/tor
networks:
pihole_net:
ipv4_address: 10.69.0.4
dohproxy:
image: ghcr.io/cyberworm-uk/dnscrypt-proxy:latest
restart: unless-stopped
volumes:
- "./dnscrypt-proxy.toml:/etc/dnscrypt-proxy/dnscrypt-proxy.toml"
networks:
pihole_net:
ipv4_address: 10.69.0.2
depends_on:
- torproxy
pihole:
image: docker.io/pihole/pihole
restart: unless-stopped
volumes:
- type: volume
source: etc-dnsmasqd
target: /etc/dnsmasq.d/
- type: volume
source: etc-pihole
target: /etc/pihole/
# ports:
# - "YOUR_LAN_IP_HERE:80:80/tcp"
# - "YOUR_LAN_IP_HERE:53:53/tcp"
# - "YOUR_LAN_IP_HERE:53:53/udp"
environment:
- ServerIP=10.69.0.3
- PIHOLE_DNS_=10.69.0.2#5054
- TZ=Europe/London
networks:
pihole_net:
ipv4_address: 10.69.0.3
dns:
- 127.0.0.1
depends_on:
- dohproxy
networks:
pihole_net:
ipam:
config:
- subnet: 10.69.0.0/29
volumes:
etc-dnsmasqd:
etc-pihole:
var-lib-tor: