docker-compose.yml aktualisiert
This commit is contained in:
@@ -8,16 +8,15 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- '/volume1/docker/unbound/unbound.conf:/etc/unbound/unbound.conf'
|
- '/volume1/docker/unbound/unbound.conf:/etc/unbound/unbound.conf'
|
||||||
networks:
|
networks:
|
||||||
bridge_network:
|
- default
|
||||||
ipv4_address: 172.18.0.2
|
|
||||||
|
|
||||||
pihole:
|
pihole:
|
||||||
image: pihole/pihole:latest
|
image: pihole/pihole:latest
|
||||||
container_name: pihole
|
container_name: pihole
|
||||||
environment:
|
environment:
|
||||||
TZ: 'Europe/Berlin'
|
TZ: 'Europe/Berlin'
|
||||||
WEBPASSWORD: "ino4!xul"
|
WEBPASSWORD: "JISz5dBYx4MmWO"
|
||||||
PIHOLE_DNS_1: 172.18.0.2
|
PIHOLE_DNS_1: unbound
|
||||||
labels:
|
labels:
|
||||||
- "com.centurylinklabs.watchtower.enable=true"
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -25,20 +24,8 @@ services:
|
|||||||
- '/volume1/docker/pihole/etc/dnsmasq.d:/etc/dnsmasq.d'
|
- '/volume1/docker/pihole/etc/dnsmasq.d:/etc/dnsmasq.d'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
pihole_network:
|
- default
|
||||||
ipv4_address: 192.168.1.249
|
|
||||||
bridge_network:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
pihole_network:
|
default:
|
||||||
driver: macvlan
|
driver: bridge
|
||||||
driver_opts:
|
|
||||||
parent: ovs_eth0
|
|
||||||
ipam:
|
|
||||||
config:
|
|
||||||
- subnet: 192.168.1.0/24
|
|
||||||
gateway: 192.168.1.1
|
|
||||||
bridge_network:
|
|
||||||
ipam:
|
|
||||||
config:
|
|
||||||
- subnet: 172.18.0.0/24
|
|
||||||
Reference in New Issue
Block a user