diff --git a/server/start.sh b/server/start.sh index 3e19e52..59ceab3 100755 --- a/server/start.sh +++ b/server/start.sh @@ -1,9 +1,9 @@ #!/bin/bash -FILE=/run/secrets/STORAGE_CONTAINER_STRING +FILE=/run/secrets/STORAGE_CONNECTION_STRING if [ -f $FILE ]; then export STORAGE_CONNECTION_STRING=$(cat /run/secrets/STORAGE_CONNECTION_STRING) -fi +fi # we need to figure out the IP of the public interface here IP=`ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1`