diff --git a/docker-compose.yml b/docker-compose.yml index 339cebe..acdba70 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: build: dockerfile: Dockerfile container_name: pihole1 - image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole1:250224.0.5 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole1:250630.0.1 restart: unless-stopped environment: TZ: 'America/Indianapolis' @@ -22,6 +22,12 @@ services: TEMPERATUREUNIT: 'f' QUERY_LOGGING: 'true' WEBTHEME: 'default-dark' + healthcheck: + test: ["CMD-SHELL", "dig google.com @localhost || exit 1"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 20s networks: dns_local_net: ipv4_address: 10.200.53.241 @@ -30,7 +36,7 @@ services: build: dockerfile: Dockerfile container_name: pihole2 - image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole2:250224.0.5 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole2:250630.0.1 restart: unless-stopped environment: TZ: 'America/Indianapolis' @@ -42,6 +48,12 @@ services: TEMPERATUREUNIT: 'f' QUERY_LOGGING: 'true' WEBTHEME: 'default-dark' + healthcheck: + test: ["CMD-SHELL", "dig google.com @localhost || exit 1"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 20s networks: dns_local_net: ipv4_address: 10.200.53.242 @@ -50,7 +62,7 @@ services: build: dockerfile: Dockerfile container_name: pihole3 - image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole3:250224.0.5 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole3:250630.0.1 restart: unless-stopped environment: TZ: 'America/Indianapolis' @@ -62,6 +74,12 @@ services: TEMPERATUREUNIT: 'f' QUERY_LOGGING: 'true' WEBTHEME: 'default-dark' + healthcheck: + test: ["CMD-SHELL", "dig google.com @localhost || exit 1"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 20s networks: dns_local_net: ipv4_address: 10.200.53.243