S allius/issue196 (#198)

* fix healthcheck

- on infrastructure with IPv6 support localhost
  might be resolved to an IPv6 adress. Since the
  proxy only support IPv4 for now, we replace
  localhost by 127.0.0.1, to fix this
This commit is contained in:
Stefan Allius
2024-10-13 17:13:07 +02:00
committed by GitHub
parent 62ea2a9e6f
commit 719c6f703a
3 changed files with 3 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ services:
- ${PROJECT_DIR:-./}tsun-proxy/log:/home/tsun-proxy/log
- ${PROJECT_DIR:-./}tsun-proxy/config:/home/tsun-proxy/config
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8127/-/healthy || exit 1
test: wget --no-verbose --tries=1 --spider http://127.0.0.1:8127/-/healthy || exit 1
interval: 10s
timeout: 3s
networks: