Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Do NOT manually bind mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed Mar 12, 2018
1 parent 5a088b4 commit d3d0ed8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions etc/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ sudo apt-get update && sudo apt-get install cf-cli
cf login -u $PAAS_USER -p $PAAS_PASSWORD -a https://api.cloud.service.gov.uk -o gds-performance-platform -s $PAAS_SPACE

# bind services
cf bind-service performance-platform-backdrop-read gds-performance-platform-mongodb-service
cf bind-service performance-platform-backdrop-write gds-performance-platform-mongodb-service
#cf bind-service performance-platform-backdrop-read gds-performance-platform-mongodb-service
#cf bind-service performance-platform-backdrop-write gds-performance-platform-mongodb-service

# set environmental variables
cf set-env performance-platform-backdrop-read ENVIRONMENT $PAAS_SPACE
cf set-env performance-platform-backdrop-read STAGECRAFT_URL https://performance-platform-stagecraft-$PAAS_SPACE.cloudapps.digital
cf set-env performance-platform-backdrop-read SIGNON_API_USER_TOKEN $APP_SIGNON_API_USER_TOKEN
cf set-env performance-platform-backdrop-read SIGNON_API_USER_TOKEN $APP_SIGNON_API_USER_TOKEN

cf set-env performance-platform-backdrop-write ENVIRONMENT $PAAS_SPACE
cf set-env performance-platform-backdrop-write STAGECRAFT_URL https://performance-platform-stagecraft-$PAAS_SPACE.cloudapps.digital
cf set-env performance-platform-backdrop-write SIGNON_API_USER_TOKEN $APP_SIGNON_API_USER_TOKEN
cf set-env performance-platform-backdrop-write SIGNON_API_USER_TOKEN $APP_SIGNON_API_USER_TOKEN
cf set-env performance-platform-backdrop-write SECRET_KEY $APP_SECRET_KEY
cf set-env performance-platform-backdrop-write REDIS_DATABASE_NUMBER $REDIS_DATABASE_NUMBER

Expand Down

0 comments on commit d3d0ed8

Please sign in to comment.