Jafner.net/5etools-docker/healthcheck.sh
2021-08-01 12:57:30 -07:00

9 lines
158 B
Bash

#!/bin/bash
while [ $(cat /status) != "INIT" ]
do
sleep 10;
done
curl --insecure --fail --silent --show-error -I http://localhost:80 > /dev/null || exit 1