浏览代码

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