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

Base URL Fixes #63

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Base URL Fixes #63

wants to merge 14 commits into from

Conversation

aryaei2000
Copy link
Collaborator

  • 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

@aryaei2000 aryaei2000 added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Nov 21, 2024
Copy link
Contributor

@szschaler szschaler left a 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.

.env Show resolved Hide resolved
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
Copy link
Contributor

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?

README.md Show resolved Hide resolved
docker-compose.yml Show resolved Hide resolved
@aryaei2000 aryaei2000 requested review from szschaler and removed request for barnettwilliam December 9, 2024 20:28
Copy link
Contributor

@szschaler szschaler left a 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...

docker-compose.yml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants