mirror of
https://github.com/zadam/trilium.git
synced 2025-02-20 21:13:11 +08:00
“Docker non-root healthcheck”
This commit is contained in:
parent
f541bf186c
commit
e6803e9a9b
1 changed files with 1 additions and 1 deletions
|
@ -39,4 +39,4 @@ RUN adduser -s /bin/false node; exit 0
|
|||
EXPOSE 8080
|
||||
CMD [ "./start-docker.sh" ]
|
||||
|
||||
HEALTHCHECK --start-period=10s CMD node docker_healthcheck.js
|
||||
HEALTHCHECK --start-period=10s CMD exec su-exec node node docker_healthcheck.js
|
||||
|
|
Loading…
Reference in a new issue