-
Notifications
You must be signed in to change notification settings - Fork 74
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
Suggestions for removing confusion around the configuration settings using Docker Compse #309
Comments
Not sure if anything can be done to align the Helm chart settings with the docker compose. That would reduce the duplication, but is not necessary. |
Thanks for the input @swcurran, will review and see what we can do. A couple of notes:
|
Agreed. Not eliminating the manage script — just formalizing its role to set all of the defaults before all the overrides are applied. Agreed the ngrok processing should still be in the manage script. |
@gurjmatharu FYI while you comb through the project and docs, this might provide some extra context/inspiration. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@gurjmatharu was this addressed (in full or partially) in the review you did a few weeks back, or do we still need it open? |
This still needs to be addressed I believe. When I went through the repos getting started was difficult so these changes could help. |
I find sorting out where to set configurations (mostly environment variables) very confusing and I don't really trust where to put the changes. There are multiple places env. variables are listed, and it's confusing where to put things -- and what has to happen (build? restart?) to make the changes take effect.
I'd like to suggest the following changes:
./manage
script the prompting and on the fly creation and (especially) the removal of the.env
file.env-example
(no leading ".") file with comments about how to adjust it for common use cases -- e.g. the same info as on the command line prompt. Document that the file should be copied to.env
and edited before running.OIDC_CONTROLLER_DB_USER=${OIDC_CONTROLLER_DB_USER}
). Avoid using different env var names (e.g. avoid thisDB_HOST=${MONGODB_HOST}
)env-example
(the starting.env
) include the commonly overridden variables, commented out and more comments on how to use the setting../manage
section that sets all the variables, load the .env file to override anything.Nice to have would be to not repeat all the variables in the docker compose and
./manage
file, but I doubt there is much can be done about that.The text was updated successfully, but these errors were encountered: