Update boop-keys/setup-boop.sh
This commit is contained in:
parent
0294ab64af
commit
e9aace91ac
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ echo "[BOOTSTRAP] DB Configured, setting up .env file..."
|
||||||
|
|
||||||
# read /home/coder/.coder-env as they contain the workspace name and username
|
# read /home/coder/.coder-env as they contain the workspace name and username
|
||||||
|
|
||||||
WORKSPACE_ENV=$(cat /home/coder/.coder-env | grep WORKSPACE_NAME | cut -d '=' -f2)
|
WORKSPACE_ENV=$(cat /home/coder/.coder-env | grep WORKSPACE_ENV | cut -d '=' -f2)
|
||||||
USERNAME_ENV=$(cat /home/coder/.coder-env | grep USERNAME | cut -d '=' -f2)
|
USERNAME_ENV=$(cat /home/coder/.coder-env | grep USERNAME_ENV | cut -d '=' -f2)
|
||||||
|
|
||||||
sed -i "s/DATABASE_HOST=/DATABASE_HOST=localhost/g" /home/coder/oauth-provider/.env
|
sed -i "s/DATABASE_HOST=/DATABASE_HOST=localhost/g" /home/coder/oauth-provider/.env
|
||||||
sed -i "s/DATABASE_PORT=/DATABASE_PORT=3306/g" /home/coder/oauth-provider/.env
|
sed -i "s/DATABASE_PORT=/DATABASE_PORT=3306/g" /home/coder/oauth-provider/.env
|
||||||
|
|
Loading…
Reference in a new issue