mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-22 14:04:28 +00:00
Merge pull request #57 from x-jokay/feature/add-health-check
Add healthcheck
This commit is contained in:
commit
33f10161ad
@ -96,5 +96,6 @@ RUN groupadd -g 1000 signal-api \
|
|||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
|
|
||||||
|
HEALTHCHECK --interval=20s --timeout=10s --retries=3 \
|
||||||
|
CMD curl -f http://localhost:8080/v1/about || exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user