feat: Changes network configuration.
This commit is contained in:
28
compose.yaml
28
compose.yaml
@@ -6,11 +6,9 @@ services:
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "8088:80/tcp"
|
||||
- "8088:80/tcp" # remove when integrated into the proxy.
|
||||
networks:
|
||||
pihole_network:
|
||||
ipv4_address: 192.168.50.198
|
||||
priority: 1000
|
||||
proxy: {}
|
||||
pihole_bridge:
|
||||
ipv4_address: 192.168.100.2
|
||||
priority: 900
|
||||
@@ -29,11 +27,11 @@ services:
|
||||
container_name: unbound
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "5053:53/tcp"
|
||||
- "5053:53/udp"
|
||||
networks:
|
||||
pihole_network:
|
||||
ipv4_address: 192.168.50.199
|
||||
pihole_bridge:
|
||||
ipv4_address: 192.168.100.3
|
||||
volumes:
|
||||
- unbound_data:/opt/unbound/etc/unbound
|
||||
|
||||
@@ -43,19 +41,9 @@ networks:
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 192.168.100.0/24
|
||||
gateway: 192.168.100.1
|
||||
ip_range: 192.168.100.2/32
|
||||
|
||||
pihole_network:
|
||||
name: pihole_network
|
||||
driver: macvlan
|
||||
driver_opts:
|
||||
parent: end0
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 192.168.50.0/24
|
||||
ip_range: 192.168.50.0/24
|
||||
gateway: 192.168.50.1
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
pihole_data:
|
||||
|
||||
@@ -3,7 +3,7 @@ TZ="America/New_York"
|
||||
WEBPASSWORD="super-secret!"
|
||||
DNSMASQ_LISTENING=local
|
||||
# This should be the server IP that pihole is running on.
|
||||
PIHOLE_DNS_="192.168.50.5#5053"
|
||||
PIHOLE_DNS_="192.168.100.3#5053"
|
||||
# This mount needs (3) folders, 'pihole', 'dnsmasq.d', 'unbound'.
|
||||
NFS_MNT=":/var/nfs/shared/<mnt>"
|
||||
NFS_ADDR="192.168.1.105"
|
||||
|
||||
Reference in New Issue
Block a user