Skip to content

Commit

Permalink
:fix: yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-bolle committed Apr 10, 2021
1 parent 0a00594 commit 4633529
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions wirehole/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
version: "3"
---
version: "3"

networks:
private_network:
Expand Down Expand Up @@ -32,13 +33,13 @@ services:
- PUID=1000
- PGID=1000
- SERVERPORT=51820
- SERVERURL=wg.${WIREHOLE_URL} # Wirehole DynDNS URL
- PEERS=3 # Wie viele Peers werden benötigt (Clients) [Name (getrennt mit Komma) oder Anzahl]
- PEERDNS=10.9.0.100 # Link to pihole
- SERVERURL=wg.${WIREHOLE_URL} # Wirehole DynDNS URL
- PEERS=3 # Wie viele Peers werden benötigt (Clients) [Name (getrennt mit Komma) oder Anzahl]
- PEERDNS=10.9.0.100 # Link to pihole
- INTERNAL_SUBNET=10.6.0.0
# - ALLOWEDIPS=0.0.0.0/0 # kompletter Netzverkehr über VPN
- ALLOWEDIPS=10.9.0.0/24 # nur DNS Anfragen über VPN ## FASTER
# - ALLOWEDIPS=10.9.0.0/24,192.168.178.0/32 # nur DNS Anfragen über VPN (inkl. Zugriff auf lokale Hosts)
# - ALLOWEDIPS=0.0.0.0/0 # kompletter Netzverkehr über VPN
- ALLOWEDIPS=10.9.0.0/24 # nur DNS Anfragen über VPN ## FASTER
# - ALLOWEDIPS=10.9.0.0/24,192.168.178.0/32 # nur DNS Anfragen über VPN (inkl. Zugriff auf lokale Hosts)
volumes:
- /var/docker/wirehole/wireguard:/config
- /lib/modules:/lib/modules
Expand All @@ -47,8 +48,8 @@ services:
ports:
- "51820:51820/udp"
dns:
- 10.9.0.100 # Points to pihole
- 10.9.0.200 # Points to unbound
- 10.9.0.100 # Points to pihole
- 10.9.0.200 # Points to unbound
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
Expand All @@ -60,7 +61,7 @@ services:
# test: ["CMD", "curl", "--interface", "wg0", "-o", "/dev/null", "-m", "3", "-s", "https://1.1.1.1/dns-query?ct=application/dns-json&name=www.google.com&type=AAAA"]
# interval: 1m30s
# timeout: 10s
# retries: 3
# retries: 3

pihole:
depends_on: [unbound]
Expand All @@ -70,12 +71,12 @@ services:
hostname: wirehole-pihole
dns:
- 127.0.0.1
- 10.9.0.200 # Points to unbound
- 10.9.0.200 # Points to unbound
environment:
WEBPASSWORD: "" # Blank password - Can be whatever you want.
ServerIP: 10.1.0.100 # Internal IP of pihole
DNS1: 10.9.0.200 # Unbound IP
DNS2: 10.9.0.200 # If we don't specify two, it will auto pick google.
WEBPASSWORD: "" # Blank password - Can be whatever you want.
ServerIP: 10.1.0.100 # Internal IP of pihole
DNS1: 10.9.0.200 # Unbound IP
DNS2: 10.9.0.200 # If we don't specify two, it will auto pick google.
volumes:
- "/var/docker/wirehole/etc-pihole/:/etc/pihole/"
- "/var/docker/wirehole/etc-dnsmasq.d/:/etc/dnsmasq.d/"
Expand All @@ -85,10 +86,10 @@ services:
# https://github.com/wirehole-pihole/docker-wirehole-pihole#note-on-capabilities
cap_add:
- NET_ADMIN
ports:
- 890:80/tcp # pihole Admin GUI
# - 53:53/tcp # Port freigeben, wenn Pihole auch lokal DNS Anfragen verwendet werden soll
# - 53:53/udp # Port freigeben, wenn Pihole auch lokal DNS Anfragen verwendet werden soll
ports:
- 890:80/tcp # pihole Admin GUI
# - 53:53/tcp # Port freigeben, wenn Pihole auch lokal DNS Anfragen verwendet werden soll
# - 53:53/udp # Port freigeben, wenn Pihole auch lokal DNS Anfragen verwendet werden soll
networks:
private_network:
ipv4_address: 10.9.0.100
ipv4_address: 10.9.0.100

0 comments on commit 4633529

Please sign in to comment.