From 6d49e9d7baba3ee7815f5846cba86cd9a4bd1b40 Mon Sep 17 00:00:00 2001 From: Kameron Kenny - pi501 Date: Fri, 12 Apr 2024 14:49:32 -0400 Subject: [PATCH] second node --- docker-compose2.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 docker-compose2.yaml diff --git a/docker-compose2.yaml b/docker-compose2.yaml new file mode 100644 index 0000000..df10b37 --- /dev/null +++ b/docker-compose2.yaml @@ -0,0 +1,46 @@ +--- +# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ + +volumes: + pihole-etc: + driver: local + pihole-dnsmasq: + driver: local + # pihole-log: + #driver: local + +networks: + dns_local_net: + external: true + +services: + pihole2: + container_name: pihole2 + image: pihole/pihole:latest + restart: unless-stopped + # For DHCP it is recommended to remove these ports and instead add: network_mode: "host" + #ports: + # - "53:53/tcp" + # - "53:53/udp" + # - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server + # - "80:80/tcp" + environment: + TZ: 'America/Indianapolis' + WEBPASSWORD: 'forty6and2' + FTLCONF_LOCAL_IPV4: '10.200.53.242' + PIHOLE_DNS_: '8.8.8.8;8.8.4.4;10.200.53.254;10.200.254.254' + DHCP_ACTIVE: 'false' + VIRTUAL_HOST: 'dns1.in.thelinuxpro.net' + TEMPERATUREUNIT: 'f' + QUERY_LOGGING: 'true' + WEBTHEME: 'default-dark' + volumes: + - pihole-etc:/etc/pihole + - pihole-dnsmasq:/etc/dnsmasq.d + #- pihole-log:/var/log + networks: + dns_local_net: + ipv4_address: 10.200.53.242 + # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities + #cap_add: + #- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed