Просмотр исходного кода

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

neyrogovnarik 1 месяц назад
Родитель
Сommit
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:
       frontend:
         condition: service_healthy
         condition: service_healthy
     healthcheck:
     healthcheck:
-      test: ["CMD", "wget", "-qO-", "http://localhost:2019/metrics"]
+      test: ["CMD", "wget", "-qO-", "http://127.0.0.1:2019/metrics"]
       interval: 30s
       interval: 30s
       timeout: 10s
       timeout: 10s
       retries: 3
       retries: 3