From 76a2e8910eeb806550bc3096b26ace2a841cf59c Mon Sep 17 00:00:00 2001 From: Fredrik Wikestad Date: Fri, 9 Feb 2024 14:25:49 +0100 Subject: [PATCH] Enable use of secrets --- server/start.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/start.sh b/server/start.sh index 7b00c2c..e46f5ca 100755 --- a/server/start.sh +++ b/server/start.sh @@ -1,5 +1,7 @@ #!/bin/bash +export STORAGE_CONNECTION_STRING=$(cat /run/secrets/STORAGE_CONNECTION_STRING) + # 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`