-
Notifications
You must be signed in to change notification settings - Fork 2
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
Base URL Fixes #63
base: main
Are you sure you want to change the base?
Base URL Fixes #63
Conversation
aryaei2000
commented
Nov 21, 2024
- A few fixes to make sure environment variables containing a service URL are loaded upon container running
- Documented relevant environment variables with examples
- Added discovery service to docker-compose.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of small amendments but largely looks good to me.
Before building the platform the ```env.example``` file should be renamed to ```.env``` and the environment variables listed below must be populated with relevant values listed below. | ||
|
||
+ **TRUSTED_ORIGINS** comma delimited whitelist of base URLs (with no trailing slash) for CORS aware endpoints | ||
+ **ES_DEPLOY_ADDRESS** base URL + /tools/xtext/editors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to explain why this is needed. Why not, instead, simply have a BASE_URL
variable and compute the rest from there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM apart from that one question I've added and the one open conversation, which needs resolving...