Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Env var for internal-API's port #38

Merged
merged 3 commits into from
Feb 9, 2018
Merged

Conversation

mmacai
Copy link
Collaborator

@mmacai mmacai commented Feb 8, 2018

  • fixed inbound gateway and api to have proper env vars for ports

Test:

API_PORT=4444 INBOUND_PORT=5555 mix phx.server should set proper ports

Closes #32

@mmacai mmacai requested a review from kevinbader February 8, 2018 15:44
CHANGELOG.md Outdated
@@ -20,6 +20,8 @@

- Fixed
- [Inbound] Make presence channel respect `JWT_USER_FIELD` setting (currently hardcoded to "username")
- [Inbound] Set proper environment variable for Phoenix server `PORT_INBOUND` - [#38](https://github.com/Accenture/reactive-interaction-gateway/pull/38)
- [API] Set proper environment variable for Phoenix server `PORT_API` - [#38](https://github.com/Accenture/reactive-interaction-gateway/pull/38)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't INBOUND_PORT and API_PORT be a bit... clearer?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, bad habit to use prefixes style everywhere.

@kevinbader kevinbader merged commit 63a0cee into master Feb 9, 2018
@kevinbader kevinbader deleted the feature/ports-env-vars branch February 9, 2018 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Env var for internal-API's port
2 participants