Skip to content

Commit

Permalink
Export runtime env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
klaus993 committed Aug 26, 2024
1 parent bd0c30d commit 319f95b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions devops/deploy-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,27 @@ if [ ${RELEASE} == "central_backend" ]; then
mix ecto.migrate
fi

export PHX_HOST=$PHX_HOST
export DATABASE_URL=$DATABASE_URL
export PHX_SERVER=$PHX_SERVER
export SECRET_KEY_BASE=$SECRET_KEY_BASE
export JWT_PRIVATE_KEY_BASE_64=$JWT_PRIVATE_KEY_BASE_64
export PORT=$PORT
export RELEASE_NODE=$RELEASE_NODE
export GATEWAY_URL=$GATEWAY_URL
export METRICS_ENDPOINT_PORT=$METRICS_ENDPOINT_PORT
export OVERRIDE_JWT=$OVERRIDE_JWT
export GOOGLE_CLIENT_ID=$GOOGLE_CLIENT_ID
export BOT_MANAGER_PORT=$BOT_MANAGER_PORT
export BOT_MANAGER_HOST=$BOT_MANAGER_HOST
export CONFIGURATOR_HOST=$CONFIGURATOR_HOST
export CONFIGURATOR_GOOGLE_CLIENT_ID=$CONFIGURATOR_GOOGLE_CLIENT_ID
export CONFIGURATOR_GOOGLE_CLIENT_SECRET=$CONFIGURATOR_GOOGLE_CLIENT_SECRET
export RELEASE=$RELEASE
export TARGET_SERVER=$TARGET_SERVER
export LOADTEST_EUROPE_HOST=$LOADTEST_EUROPE_HOST
export LOADTEST_BRAZIL_HOST=$LOADTEST_BRAZIL_HOST

/Users/lambdaclass/arena/mirra_backend/_build/prod/rel/arena/bin/arena stop

rm -rf ${HOME}/arena/mirra_backend
Expand Down

0 comments on commit 319f95b

Please sign in to comment.