chore: use curl for gotrue health check
This commit is contained in:
parent
626c8a5be4
commit
f033e34ab1
|
|
@ -55,10 +55,10 @@ services:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "nc", "-z", "localhost", "9999" ]
|
test: "curl --fail http://127.0.0.1:9999/health || exit 1"
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 6
|
retries: 12
|
||||||
image: appflowyinc/gotrue:${GOTRUE_VERSION:-latest}
|
image: appflowyinc/gotrue:${GOTRUE_VERSION:-latest}
|
||||||
environment:
|
environment:
|
||||||
# There are a lot of options to configure GoTrue. You can reference the example config:
|
# There are a lot of options to configure GoTrue. You can reference the example config:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue