File tree 1 file changed +68
-0
lines changed
1 file changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : " 3.8"
2
+
3
+ services :
4
+ wg-easy :
5
+ environment :
6
+ - WG_HOST=CHANGE_ME_TO_YOUR_PUBLIC_IP_ADDRESS
7
+ - PASSWORD=CHANGE_ME
8
+ - WG_DEFAULT_DNS=10.8.1.3
9
+ image : weejewel/wg-easy
10
+ volumes :
11
+ - ~/.wg-easy:/etc/wireguard
12
+ ports :
13
+ - 51820:51820/udp
14
+ - 51821:51821/tcp
15
+ restart : unless-stopped
16
+ cap_add :
17
+ - NET_ADMIN
18
+ - SYS_MODULE
19
+ sysctls :
20
+ - net.ipv4.ip_forward=1
21
+ - net.ipv4.conf.all.src_valid_mark=1
22
+ networks :
23
+ wg-easy :
24
+ ipv4_address : 10.8.1.2
25
+
26
+ pihole :
27
+ container_name : pihole
28
+ image : cbcrowe/pihole-unbound:latest
29
+ ports :
30
+ - 443:443/tcp
31
+ - 53:53/tcp
32
+ - 53:53/udp
33
+ - 80:80/tcp # Allows use of different port to access pihole web interface when other docker containers use port 80
34
+ # - 5335:5335/tcp # Uncomment to enable unbound access on local server
35
+ # - 22/tcp # Uncomment to enable SSH
36
+ environment :
37
+ - FTLCONF_LOCAL_IPV4=10.8.1.3
38
+ - TZ=CHANGE_ME
39
+ - WEBPASSWORD=CHANGE_ME
40
+ - REV_SERVER=false
41
+ - REV_SERVER_DOMAIN=local
42
+ - REV_SERVER_TARGET=192.168.1.1
43
+ - REV_SERVER_CIDR=192.168.0.0/16
44
+ - HOSTNAME=pihole
45
+ - DOMAIN_NAME=pihole.local
46
+ - PIHOLE_WEBPORT=80
47
+ - WEBTHEME=default-light
48
+ - PIHOLE_DNS_=127.0.0.1#5335
49
+ - DNSSEC="true"
50
+ - DNSMASQ_LISTENING=single
51
+ volumes :
52
+ - etc_pihole-unbound:/etc/pihole:rw
53
+ - etc_pihole_dnsmasq-unbound:/etc/dnsmasq.d:rw
54
+ - /root/adlists.list:/etc/pihole/adlists.list:rw
55
+ restart : unless-stopped
56
+ networks :
57
+ wg-easy :
58
+ ipv4_address : 10.8.1.3
59
+
60
+ volumes :
61
+ etc_pihole-unbound :
62
+ etc_pihole_dnsmasq-unbound :
63
+
64
+ networks :
65
+ wg-easy :
66
+ ipam :
67
+ config :
68
+ - subnet : 10.8.1.0/24
You can’t perform that action at this time.
0 commit comments