mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Set Docker default healthcheck in the Dockerfile (#5199)
This commit is contained in:
parent
e6d6f21d33
commit
46e6be319f
1 changed files with 2 additions and 0 deletions
|
|
@ -270,3 +270,5 @@ ENTRYPOINT ["/sbin/docker-entrypoint.sh"]
|
|||
EXPOSE 8000
|
||||
|
||||
CMD ["/usr/local/bin/paperless_cmd.sh"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=5 CMD [ "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue