From 44b3ded62b79a795db9c52e792cd302426465810 Mon Sep 17 00:00:00 2001 From: Tom Bevan Date: Thu, 29 Sep 2016 15:52:39 +0100 Subject: [PATCH 1/2] changed sed delimiter for when openssl generates a token with slashes --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index 89e18e5..a90365e 100755 --- a/setup +++ b/setup @@ -40,7 +40,7 @@ sed -i "s/ERNESTHOST/$ERNESTHOST/g" ./config/nginx/ernest.local # Setup a random JWT Token for api-gateway TOKEN=`openssl rand -base64 32` -sed -i s/GENERATEDJWTSECRET/$TOKEN/g docker-compose.yml +sed -i 's:GENERATEDJWTSECRET:$TOKEN:g' docker-compose.yml # Make volume for postgres data mkdir -p postgres/data From 94696080c8a5126e74948d888a75d6193b67c6eb Mon Sep 17 00:00:00 2001 From: Tom Bevan Date: Thu, 29 Sep 2016 15:55:19 +0100 Subject: [PATCH 2/2] updated quotations --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index a90365e..b36b34d 100755 --- a/setup +++ b/setup @@ -40,7 +40,7 @@ sed -i "s/ERNESTHOST/$ERNESTHOST/g" ./config/nginx/ernest.local # Setup a random JWT Token for api-gateway TOKEN=`openssl rand -base64 32` -sed -i 's:GENERATEDJWTSECRET:$TOKEN:g' docker-compose.yml +sed -i "s:GENERATEDJWTSECRET:$TOKEN:g" docker-compose.yml # Make volume for postgres data mkdir -p postgres/data