From f52e2d09562638f7c053a4c3186c14b635157208 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 19 Feb 2026 17:49:42 +0000 Subject: [PATCH 1/2] Initial plan From 8c34d211e38a65285ae2a4535d06ef2e3e5cbfd3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 19 Feb 2026 17:51:43 +0000 Subject: [PATCH 2/2] Fix Docker healthcheck to check app's own health endpoint Co-authored-by: pacnpal <183241239+pacnpal@users.noreply.github.com> --- healthcheck.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/healthcheck.py b/healthcheck.py index e979ed8..96c85d1 100644 --- a/healthcheck.py +++ b/healthcheck.py @@ -5,9 +5,8 @@ import os def check_health(): try: - host = os.environ.get('ADGUARD_HOST', 'localhost') - port = os.environ.get('ADGUARD_PORT', '8000') - url = f'http://{host}:{port}/health' + port = os.environ.get('APP_PORT', '8000') + url = f'http://localhost:{port}/health' with httpx.Client() as client: response = client.get(url) response.raise_for_status()