This commit is contained in:
Redsandyg
2026-06-15 06:31:35 +03:00
commit fcc9139361
50 changed files with 5400 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
echo "Waiting for nginx..."
for i in $(seq 1 30); do
if wget -q -O /dev/null http://nginx/public/index.html 2>/dev/null; then
echo "nginx is ready"
exit 0
fi
sleep 2
done
echo "nginx not ready after 60s" >&2
exit 1