nginx healthcheck: 127.0.0.1 instead of localhost (only IPv4 listener)
parent
1c8bab0f04
commit
1cf91e2f32
|
|
@ -57,7 +57,7 @@ services:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
networks: [clu]
|
networks: [clu]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-qO-", "http://localhost/"]
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1/"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue