فهرست منبع

fix: Caddy healthcheck use 127.0.0.1 (avoid IPv6 wget failure)

neyrogovnarik 1 ماه پیش
والد
کامیت
51d0ed6c47
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      deploy/docker-compose.prod.yml

+ 1 - 1
deploy/docker-compose.prod.yml

@@ -34,7 +34,7 @@ services:
       frontend:
         condition: service_healthy
     healthcheck:
-      test: ["CMD", "wget", "-qO-", "http://localhost:2019/metrics"]
+      test: ["CMD", "wget", "-qO-", "http://127.0.0.1:2019/metrics"]
       interval: 30s
       timeout: 10s
       retries: 3