Skip to content

Commit

Permalink
Update templates to support use of master configuration.
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
  • Loading branch information
jonseymour committed Jul 29, 2015
1 parent d78024c commit db44349
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 21 deletions.
4 changes: 2 additions & 2 deletions templates/activation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ cat <<EOF2
DEBUG=*
USVC_CONFIG_ENV=docker
NODE_ENV=development
usvc_rpcService_signing_secret=NefofvigdadEjlien8Schyk8
usvc_amqp_url=amqp://admin:ofjoHyibkaibHiammagsenun@rabbit:5672
usvc_rpcService_signing_secret=${NINJA_SIGNING_SECRET}
usvc_amqp_url=amqp://admin:${NINJA_RABBIT_SECRET}@rabbit:5672
EOF2
19 changes: 9 additions & 10 deletions templates/apiservice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ cat <<EOF2
DEBUG=*
USVC_CONFIG_ENV=docker
NODE_ENV=development
usvc_amqp_url=amqp://admin:ofjoHyibkaibHiammagsenun@rabbit:5672
usvc_rpcService_signing_secret=NefofvigdadEjlien8Schyk8
usvc_activationService_signing_secret=NefofvigdadEjlien8Schyk8
usvc_modelStoreService_signing_secret=NefofvigdadEjlien8Schyk8
usvc_sessions_secret=OjIakHisvaykafmoafOabFey
usvc_oauth_callbackURL=https://apiservice.example.com/auth/ninja/callback
usvc_oauth_authorizationURL=https://douitsu.example.com/dialog/authorize
usvc_oauth_clientID=app_XX
usvc_oauth_clientSecret=sk_XX
usvc_sessions_secret=EcBetvabdigobejBararuch2
usvc_amqp_url=amqp://admin:${NINJA_RABBIT_SECRET}@rabbit:5672
usvc_rpcService_signing_secret=${NINJA_SIGNING_SECRET}
usvc_activationService_signing_secret=${NINJA_SIGNING_SECRET}
usvc_modelStoreService_signing_secret=${NINJA_SIGNING_SECRET}
usvc_sessions_secret=${NINJA_SESSION_SECRET}
usvc_oauth_callbackURL=https://${NINJA_API_ENDPOINT}/auth/ninja/callback
usvc_oauth_authorizationURL=https://${NINJA_ID_ENDPOINT}/dialog/authorize
usvc_oauth_clientID=${NINJA_APP_TOKEN}
usvc_oauth_clientSecret=${NINJA_APP_KEY}
EOF2
2 changes: 1 addition & 1 deletion templates/modelservice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ cat <<EOF2
DEBUG=*
USVC_CONFIG_ENV=docker
NODE_ENV=development
usvc_rpcService_signing_secret=NefofvigdadEjlien8Schyk8
usvc_rpcService_signing_secret=${NINJA_SIGNING_SECRET}
EOF2
2 changes: 1 addition & 1 deletion templates/mqttproxy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
cat <<EOF2
BACKEND_USER=admin
BACKEND_PASS=ofjoHyibkaibHiammagsenun
BACKEND_PASS=${NINJA_RABBIT_SECRET}
EOF2
4 changes: 2 additions & 2 deletions templates/rpcservice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ cat <<EOF2
DEBUG=*
USVC_CONFIG_ENV=docker
NODE_ENV=development
usvc_amqp_url=amqp://admin:ofjoHyibkaibHiammagsenun@rabbit:5672
usvc_modelStoreService_signing_secret=NefofvigdadEjlien8Schyk8
usvc_amqp_url=amqp://admin:${NINJA_RABBIT_SECRET}@rabbit:5672
usvc_modelStoreService_signing_secret=${NINJA_SIGNING_SECRET}
EOF2
1 change: 0 additions & 1 deletion templates/spherecouch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env bash
cat <<EOF2
EOF2
1 change: 0 additions & 1 deletion templates/spherehaproxy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env bash
cat <<EOF2
EOF2
2 changes: 1 addition & 1 deletion templates/sphererabbit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cat <<EOF2
RABBITMQ_PASS=ofjoHyibkaibHiammagsenun
RABBITMQ_PASS=${NINJA_RABBIT_SECRET}
EOF2
1 change: 0 additions & 1 deletion templates/sphereredis.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env bash
cat <<EOF2
EOF2
2 changes: 1 addition & 1 deletion templates/stateservice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
cat <<EOF2
DEBUG=true
REDIS_URL=redis://redis:6379
RABBIT_URL=amqp://admin:ofjoHyibkaibHiammagsenun@rabbit:5672
RABBIT_URL=amqp://admin:${NINJA_RABBIT_SECRET}@rabbit:5672
EOF2

0 comments on commit db44349

Please sign in to comment.