Merge pull request #57 from x-jokay/feature/add-health-check

Add healthcheck
This commit is contained in:
Bernhard B 2021-01-16 19:04:11 +01:00 committed by GitHub
commit 33f10161ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,5 +96,6 @@ RUN groupadd -g 1000 signal-api \
EXPOSE 8080
ENTRYPOINT ["/entrypoint.sh"]
HEALTHCHECK --interval=20s --timeout=10s --retries=3 \
CMD curl -f http://localhost:8080/v1/about || exit 1