Adds Healthcheck for all docker container

This commit is contained in:
H3npi authored and H3npi committed 2019-08-29 09:02:02 +02:00
1 parent 026f9da035
commit 66a68f6d22
11 files changed
+49

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env sh
if [ -z "$ROCKET_TLS"]
then
curl --fail http://localhost/alive || exit 1
else
curl --fail https://localhost/alive || exit 1
fi