docker-compose.yml aktualisiert
This commit is contained in:
44
docker-compose.yml
Normal file
44
docker-compose.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
services:
|
||||
unbound:
|
||||
image: mvance/unbound:latest
|
||||
container_name: unbound
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
volumes:
|
||||
- '/volume1/docker/unbound/unbound.conf:/etc/unbound/unbound.conf'
|
||||
networks:
|
||||
bridge_network:
|
||||
ipv4_address: 172.18.0.2
|
||||
|
||||
pihole:
|
||||
image: pihole/pihole:latest
|
||||
container_name: pihole
|
||||
environment:
|
||||
TZ: 'Europe/Berlin'
|
||||
WEBPASSWORD: "ino4!xul"
|
||||
PIHOLE_DNS_1: 172.18.0.2
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
volumes:
|
||||
- '/volume1/docker/pihole/etc/pihole:/etc/pihole'
|
||||
- '/volume1/docker/pihole/etc/dnsmasq.d:/etc/dnsmasq.d'
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
pihole_network:
|
||||
ipv4_address: 192.168.1.249
|
||||
bridge_network:
|
||||
|
||||
networks:
|
||||
pihole_network:
|
||||
driver: macvlan
|
||||
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