mirror of
https://github.com/luzifer-docker/icecast2.git
synced 2024-11-09 08:20:04 +00:00
Add a health check
Add a health check to ensure the daemon is reachable
This commit is contained in:
parent
eb99bd45b7
commit
5750466956
1 changed files with 3 additions and 0 deletions
|
@ -25,3 +25,6 @@ EXPOSE 8000 8001
|
|||
ADD startup.sh /usr/bin/startup.sh
|
||||
|
||||
ENTRYPOINT ["/usr/bin/startup.sh"]
|
||||
|
||||
# healthcheck
|
||||
HEALTHCHECK CMD curl -sL --fail localhost:8000 || exit 1
|
||||
|
|
Loading…
Reference in a new issue