diff --git a/docker-compose.yml b/docker-compose.yml index 368f461..5cd5d93 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,20 +1,16 @@ --- # 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 - networks: dns_local_net: external: true services: pihole1: + build: + dockerfile: Dockerfile container_name: pihole1 - image: pihole/pihole:latest + image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole1:250120.0.1 restart: unless-stopped environment: TZ: 'America/Indianapolis' @@ -26,16 +22,15 @@ services: TEMPERATUREUNIT: 'f' QUERY_LOGGING: 'true' WEBTHEME: 'default-dark' - volumes: - - pihole-etc:/etc/pihole - - pihole-dnsmasq:/etc/dnsmasq.d networks: dns_local_net: ipv4_address: 10.200.53.241 pihole2: + build: + dockerfile: Dockerfile container_name: pihole2 - image: pihole/pihole:latest + image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole2:250120.0.1 restart: unless-stopped environment: TZ: 'America/Indianapolis' @@ -47,9 +42,6 @@ services: TEMPERATUREUNIT: 'f' QUERY_LOGGING: 'true' WEBTHEME: 'default-dark' - volumes: - - pihole-etc:/etc/pihole - - pihole-dnsmasq:/etc/dnsmasq.d networks: dns_local_net: ipv4_address: 10.200.53.242