Skip to content

Commit

Permalink
Add URL_PLATFORM env variable in microservices
Browse files Browse the repository at this point in the history
  • Loading branch information
kprist committed Nov 1, 2018
1 parent 369d591 commit bb1574d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configs/microservices.sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ STEP 3: Verify that in STEP 2, you have correct operation mentioned. If you see

export default {
Microservices: {
'platform': {
uri: 'https://platform.experimental.slidewiki.org',
},
'deck': {
uri: 'https://deckservice.experimental.slidewiki.org'
},
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ slidewikiplatform:
- VIRTUAL_HOST=platform.experimental.slidewiki.org
- LETSENCRYPT_HOST=platform.experimental.slidewiki.org
- [email protected]
- URL_PLATFORM=https://platform.experimental.slidewiki.org
- SERVICE_URL_DECK=https://deckservice.experimental.slidewiki.org
- SERVICE_URL_DISCUSSION=https://discussionservice.experimental.slidewiki.org
- SERVICE_URL_ACTIVITIES=https://activitiesservice.experimental.slidewiki.org
Expand Down
3 changes: 3 additions & 0 deletions microservices.js.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
export default {
Microservices: {
'platform': {
uri: '${URL_PLATFORM}'
},
'deck': {
uri: '${SERVICE_URL_DECK}'
},
Expand Down

0 comments on commit bb1574d

Please sign in to comment.