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()