mirror of
https://github.com/imtbl/hydrus-server-docker
synced 2024-06-13 08:04:54 +12:00
feat: Add container healthchecks
This commit is contained in:
parent
b055e897d0
commit
fc8e584298
|
@ -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
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue