mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add docker healthchecks to the docker images
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
c90ee1c4db
commit
1edb422f3d
10 changed files with 35 additions and 2 deletions
|
|
@ -31,3 +31,5 @@ RUN echo "root:$(openssl rand -base64 12)" | chpasswd
|
|||
|
||||
USER postgres
|
||||
ENTRYPOINT ["start.sh"]
|
||||
|
||||
HEALTHCHECK CMD psql -d "postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB" -c "select now()" || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue