-
Notifications
You must be signed in to change notification settings - Fork 1
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
Document environmental variables for pre-build container #5
Comments
Hey there, Hopefully the database ones are self explanatory.
I don't think there is a simple command to get a complete list of settings that you can set by environment variables but on an installed site, you can run the following command:
|
@ufundo do you have any thoughts on how we might make environment variables more discoverable? |
I have had a plan for this since Ashbourne, but other things have intervened. The idea is: make an Api4 entity for SettingsMeta, to allow browsing using SearchKit. Let me try get to POC. |
@ufundo - makes sense, and fields like 'description' would be useful for people. |
A nice to have would be to have some of them documented somewhere that you don't need an installed civicrm to consult. |
For that I was thinking to point to smaster from the docs (that way should always be an up to date reference) |
@michaelmcandrew could you have a look at civicrm/civicrm-core#31592 ? |
I would really appreciate if there is just a list of variables I have to set when bootstrapping some docker based civicrm until the point an admin can do a first login. |
The list of variables required for installation is:
You also need to set the admin username and password as part of the installation script. See https://github.com/civicrm/civicrm-docker/blob/main/build/civicrm/civicrm-docker-install for an example of how you so that and https://github.com/civicrm/civicrm-docker?tab=readme-ov-file#installation for some more background. |
After playing around and searching i finally found the script. I needed to adjust a little for my need, but this would be extremely helpful to have it visible linked in main README. |
I think most likely those will be the ones from composer file
but it would be nice to have a complete list with some explanation
The text was updated successfully, but these errors were encountered: