fix socat: Connection refused
All checks were successful
Build docker image and push to registry.bitdeals.org / main-build-job (push) Successful in 2m20s
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user