1
0
Fork 0
mirror of https://github.com/imtbl/hydrus-server-docker synced 2024-05-16 18:43:21 +12:00

feat: Add container healthchecks

This commit is contained in:
Michael Serajnik 2019-03-04 18:54:28 +01:00
parent b055e897d0
commit fc8e584298
No known key found for this signature in database
GPG key ID: B390A5CBA3ECB74D
2 changed files with 5 additions and 0 deletions

View file

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
+ Added container healthchecks
+ Updated hydrus server version
## [2.4.0] - 2019-02-15

View file

@ -63,6 +63,10 @@ EXPOSE 45870/tcp
EXPOSE 45871/tcp
EXPOSE 45872/tcp
HEALTHCHECK --interval=1m --timeout=10s --retries=3 \
CMD wget --quiet --tries=1 --no-check-certificate --spider \
https://localhost:45870 || exit 1
USER hydrus
ENTRYPOINT ["docker-entrypoint"]