add healthcheck to pgadmin
This commit is contained in:
parent
5a7c1782f7
commit
1fe5cda5f4
@ -71,6 +71,10 @@ services:
|
|||||||
PGADMIN_LISTEN_ADDRESS: "0.0.0.0"
|
PGADMIN_LISTEN_ADDRESS: "0.0.0.0"
|
||||||
PGADMIN_LISTEN_PORT: 5050
|
PGADMIN_LISTEN_PORT: 5050
|
||||||
PGADMIN_DISABLE_POSTFIX: 1
|
PGADMIN_DISABLE_POSTFIX: 1
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "nc", "-z", "127.0.0.1", "5050"]
|
||||||
|
interval: 5s
|
||||||
|
retries: 10
|
||||||
|
|
||||||
tailscale-pgadmin:
|
tailscale-pgadmin:
|
||||||
image: tailscale/tailscale:latest
|
image: tailscale/tailscale:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user