From ea3b859a76e351ea1c462acdc075a4546e86fda0 Mon Sep 17 00:00:00 2001 From: Viren070 Date: Sun, 9 Feb 2025 16:49:45 +0000 Subject: [PATCH] feat(traefik): add healthcheck configuration and enable ping option --- compose.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compose.yaml b/compose.yaml index b255da9..4e5f9f1 100644 --- a/compose.yaml +++ b/compose.yaml @@ -511,9 +511,15 @@ services: - "--certificatesresolvers.myresolver.acme.email=${LETSENCRYPT_EMAIL}" - "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json" - "--log.level=INFO" + - "--ping" volumes: - "/var/run/docker.sock:/var/run/docker.sock" - "./letsencrypt:/letsencrypt" + healthcheck: + test: ["CMD", "traefik", "healthcheck", "--ping"] + interval: 10s + timeout: 5s + retries: 3 # Warp for SOCKS5 proxy for AIOStreams, MediaFlow Proxy, and Prowlarr, MediaFusion warp: