add healthcheck for postgres

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-12-03 11:48:49 +01:00
parent 2cbe7d7d6a
commit b36cc2e2b0

View file

@ -89,6 +89,14 @@
"image": "nextcloud/aio-postgresql", "image": "nextcloud/aio-postgresql",
"user": "999", "user": "999",
"init": true, "init": true,
"healthcheck": {
"start_period": "0s",
"test": "/healthcheck.sh",
"interval": "30s",
"timeout": "30s",
"start_interval": "5s",
"retries": 3
},
"expose": [ "expose": [
"5432" "5432"
], ],