From 929342cf68204aac771c4d0bed27e62b6986c67e Mon Sep 17 00:00:00 2001 From: ITQ Date: Sun, 2 Mar 2025 17:24:19 +0300 Subject: [PATCH 1/3] antifrodpobeda --- services/backend/integrations/checker/healthcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/backend/integrations/checker/healthcheck.py b/services/backend/integrations/checker/healthcheck.py index 492e127..1ab32f5 100644 --- a/services/backend/integrations/checker/healthcheck.py +++ b/services/backend/integrations/checker/healthcheck.py @@ -11,7 +11,7 @@ class CheckerHealthCheck(BaseHealthCheckBackend): def check_status(self) -> None: try: response = httpx.get( - f"{settings.ANTIFRAUD_ADDRESS}/ping", timeout=1 + f"{settings.CHECKER_API_ENDPOINT}/ping", timeout=1 ) if response.status_code >= status.INTERNAL_SERVER_ERROR: self.add_error("Checker service is unaccessible") From f34b3816c7224c6966d1c9a4c2e423adc5087215 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sun, 2 Mar 2025 17:24:56 +0300 Subject: [PATCH 2/3] (scope): [body] [footer(s)] --- compose.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compose.yaml b/compose.yaml index 7eaa8c7..95f3070 100644 --- a/compose.yaml +++ b/compose.yaml @@ -376,6 +376,12 @@ services: context: ./services/checker dockerfile: Dockerfile restart: unless-stopped + ports: + - name: web + target: 8000 + published: 8009 + host_ip: 0.0.0.0 + protocol: tcp volumes: - type: bind source: /var/run/docker.sock From c54161a470fe59ba3f2d0bc9afa5fe9109930dc2 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sun, 2 Mar 2025 17:35:27 +0300 Subject: [PATCH 3/3] well, well --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 95f3070..e4401a3 100644 --- a/compose.yaml +++ b/compose.yaml @@ -385,7 +385,7 @@ services: volumes: - type: bind source: /var/run/docker.sock - target: /prometheus + target: /var/run/docker.sock proxy: image: docker.io/nginx:1.27-alpine3.21