diff --git a/go.sh b/go.sh index aa09ab1..8861044 100644 --- a/go.sh +++ b/go.sh @@ -2,10 +2,7 @@ export IP_ADDRESS=$(/sbin/ip -o -4 addr list eno2 | awk '{print $4}' | cut -d/ - cp /secrets/certs/* nginx/filesystem/etc/nginx/certs docker compose build --build-arg IP_ADDRESS=$IP_ADDRESS -if [ "$?" != "0" ] -then - exit 1 -fi +if [ "$?" != "0" ]; then exit 1; fi docker compose down docker compose up -d