mirror of https://github.com/TriliumNext/Notes
Add docker health check
parent
4f86d769be
commit
57609a5952
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
if wget --spider -S "127.0.0.1:8080" 2>&1 | grep -w "302" ; then
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
Loading…
Reference in New Issue