forked from cyberworm-uk/dohot-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (58 loc) · 1.36 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
62
63
version: "3"
services:
torproxy:
image: ghcr.io/cyberworm-uk/torproxy: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/dohproxy:latest
restart: unless-stopped
volumes:
- "./dnscrypt-proxy.toml:/etc/dnscrypt-proxy/dnscrypt-proxy.toml:z"
networks:
pihole_net:
ipv4_address: 10.69.0.2
depends_on:
- torproxy
pihole:
image: pihole/pihole
restart: unless-stopped
volumes:
- type: volume
source: etc-dnsmasqd
target: /etc/dnsmasq.d/
- type: volume
source: etc-pihole
target: /etc/pihole/
- "./tls_cert:/etc/lighttpd/tls_cert:z"
- "./lighttpd.conf:/etc/lighttpd/lighttpd.conf:z"
ports:
- "TAILSCALE_IP:8443:8443/tcp"
- "TAILSCALE_IP:53:53/tcp"
- "TAILSCALE_IP:53:53/udp"
environment:
- ServerIP=10.69.0.3
- PIHOLE_DNS_=10.69.0.2#5054
- TZ=Europe/Rome
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: