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

The domain model(s) loaded into the system-modeller should be configured via an environment variable #1

Open
scp93ch opened this issue May 30, 2023 · 1 comment
Assignees

Comments

@scp93ch
Copy link
Member

scp93ch commented May 30, 2023

It is good practice to have any configuration done through environment variables.

With the current set-up a user can put domain model(s) into the "knowledgebases" folder and this folder will be mounted by the system-modeller and any domain models within will be loaded on boot.

It would be better (and clearer) if we also had the ability to download a specified domain model(s) automatically based on an environment variable defined in .env (or wherever).

@scp93ch
Copy link
Member Author

scp93ch commented May 30, 2023

The solution we discussed is to create a custom entrypoint for the ssm container (as we have done for keycloak and nginx) so that the domain model(s) are downloaded first and then tomcat is started.

We could have a comma-separated list of domain model URLs in an environment variable.

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

No branches or pull requests

2 participants