fix socat: Connection refused
All checks were successful
Build docker image and push to registry.bitdeals.org / main-build-job (push) Successful in 2m20s

This commit is contained in:
2026-03-12 16:02:41 +03:00
parent 6540f7c80a
commit a283109207

View File

@@ -2,6 +2,12 @@
set -e set -e
# Wait for haproxy container
while ! nc -z haproxy 9999 2>/dev/null; do
echo "Waiting for haproxy:9999..."
sleep 7
done
if [ ! -f /etc/certificates/site.pem ]; then if [ ! -f /etc/certificates/site.pem ]; then
# Generate self-signed certificate # Generate self-signed certificate
openssl genrsa -out site.key 2048 openssl genrsa -out site.key 2048