This commit is contained in:
James Turland 2024-01-15 08:51:49 +00:00
parent d02b15e7a2
commit b5c11f4a60
1 changed files with 10 additions and 10 deletions

View File

@ -13,23 +13,23 @@ services:
pihole: pihole:
container_name: pihole container_name: pihole
hostname: pihole hostname: pihole
image: pihole/pihole:latest image: pihole/pihole:latest # remember to change this if you're using rpi
networks: networks:
dns_net: dns_net:
ipv4_address: 172.23.0.7 ipv4_address: 172.23.0.7
proxy: proxy:
ports: ports:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"
- "85:80/tcp" - "85:80/tcp"
#- "443:443/tcp" #- "443:443/tcp"
environment: environment:
- TZ: 'Europe/London' TZ: 'Europe/London'
- WEBPASSWORD: 'password' WEBPASSWORD: 'password'
- PIHOLE_DNS_: '172.23.0.8#5053' PIHOLE_DNS_: '172.23.0.8#5053'
volumes: volumes:
- '/home/ubuntu/docker/pihole/etc-pihole/:/etc/pihole/' - '/home/ubuntu/docker/pihole/etc-pihole/:/etc/pihole/'
- '/home/ubuntu/docker/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/' - '/home/ubuntu/docker/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/'
restart: unless-stopped restart: unless-stopped
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
@ -45,7 +45,7 @@ services:
- "traefik.docker.network=proxy" - "traefik.docker.network=proxy"
unbound: unbound:
container_name: unbound container_name: unbound
image: mvance/unbound:latest image: mvance/unbound:latest # remember to change this if you're using rpi
networks: networks:
dns_net: dns_net:
ipv4_address: 172.23.0.8 ipv4_address: 172.23.0.8