Skip to content

Commit

Permalink
Merge pull request #4 from ernestio/feature/ERNEST-2131
Browse files Browse the repository at this point in the history
Fix for sed replacement issue when slashes are present in token
  • Loading branch information
adriacidre authored Sep 30, 2016
2 parents 3c43fe7 + 9469608 commit 9c03710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c03710

Please sign in to comment.