Update boop-keys/setup-boop.sh

This commit is contained in:
Kakious 2023-07-21 13:48:40 -07:00
parent c259686f4f
commit f90749d63d

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:\/\/3123--$WORKSPACE_ENV--$USERNAME_ENV.coder.kakio.us/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
echo "" >> /home/coder/oauth-provider/.env
echo "ENCRYPTION_SECRET=$encryption_secret" >> /home/coder/oauth-provider/.env