From 4e8b579f3bada1c6433b8681c8b1632090138c1f Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 22:44:55 +0200 Subject: [PATCH] remove unnecessary healthchecks: httpd + mail-relay --- docker-compose/httpd/docker-compose.yml.j2 | 5 ----- docker-compose/mail-relay/docker-compose.yml.j2 | 5 ----- 2 files changed, 10 deletions(-) diff --git a/docker-compose/httpd/docker-compose.yml.j2 b/docker-compose/httpd/docker-compose.yml.j2 index 53328835..42694834 100644 --- a/docker-compose/httpd/docker-compose.yml.j2 +++ b/docker-compose/httpd/docker-compose.yml.j2 @@ -9,11 +9,6 @@ services: - "{{ compose_dest_basedir }}/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro" ports: - 3344:80 - healthcheck: - test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"] - interval: 30s - timeout: 10s - retries: 3 python-api-server: container_name: httpd-api diff --git a/docker-compose/mail-relay/docker-compose.yml.j2 b/docker-compose/mail-relay/docker-compose.yml.j2 index 69c02bae..92d6f65d 100644 --- a/docker-compose/mail-relay/docker-compose.yml.j2 +++ b/docker-compose/mail-relay/docker-compose.yml.j2 @@ -24,11 +24,6 @@ services: # /.*/ würde alle absender adressen ersetzen networks: - mail-relay - healthcheck: - test: ["CMD", "sh", "-c", "echo 'EHLO localhost' | nc -w 1 127.0.0.1 25 | grep -q '220 '"] - interval: 30s - timeout: 10s - retries: 3 ######## Networks ######## networks: