Update boop-keys/setup-boop.sh

This commit is contained in:
Kakious 2023-07-23 10:57:54 -07:00
parent f90749d63d
commit a3f83f331f

View file

@ -40,7 +40,7 @@ sed -i "s/DATABASE_PASSWORD=/DATABASE_PASSWORD=$password/g" /home/coder/oauth-pr
sed -i "s/DATABASE_NAME=/DATABASE_NAME=oauth_provider/g" /home/coder/oauth-provider/.env
sed -i "s/REDIS_HOST=/REDIS_HOST=localhost/g" /home/coder/oauth-provider/.env
sed -i "s/REDIS_PORT=/REDIS_PORT=6379/g" /home/coder/oauth-provider/.env
sed -i "s/BASE_LOCAL_URL=/BASE_LOCAL_URL=https:\/\/boop--$WORKSPACE_ENV--$USERNAME_ENV.coder.kakio.us/g" /home/coder/oauth-provider/.env
sed -i "s/BASE_LOCAL_URL=/BASE_LOCAL_URL=https:\/\/boop--main--$WORKSPACE_ENV--$USERNAME_ENV.coder.kakio.us/g" /home/coder/oauth-provider/.env
echo "" >> /home/coder/oauth-provider/.env
echo "ENCRYPTION_SECRET=$encryption_secret" >> /home/coder/oauth-provider/.env