mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
add healtcheck for oo
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
827a27532d
commit
2cbe7d7d6a
3 changed files with 14 additions and 1 deletions
|
|
@ -4,5 +4,7 @@ FROM onlyoffice/documentserver:8.2.2.1
|
|||
|
||||
# USER root is probably used
|
||||
|
||||
HEALTHCHECK CMD nc -z 127.0.0.1 80 || exit 1
|
||||
COPY --chmod=775 healthcheck.sh /healthcheck.sh
|
||||
|
||||
HEALTHCHECK --start-period=360s CMD /healthcheck.sh
|
||||
LABEL com.centurylinklabs.watchtower.enable="false"
|
||||
|
|
|
|||
3
Containers/onlyoffice/healthcheck.sh
Normal file
3
Containers/onlyoffice/healthcheck.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
nc -z 127.0.0.1 80 || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue