-
Notifications
You must be signed in to change notification settings - Fork 133
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
Add environment variables for cluster #32
Conversation
This will not be merged. The intent is that you will mount and persist the files under Further, the |
I am not sure those parameters will be deprecated, but it seems they are not yet deprecated as we can find them in the documentation. Even we can override default parameters by specifying those parameters in query. But if this is because document is not updated, we can just put This pr is just to support the case that someone want to configure those values but doesn't want to mount configuration directory. This could frequently happen because user can run CouchDB cluster with a single docker command. WRT, overriding of default values, what is the preferable ways? If this is not desired approach, kindly let me know, I can amend the commit at any times. |
Of the four values:
The point I am trying to make is this: there are simply too many potential variables to be set in a clustered configuration to specify them all with environment variables. I don't see the point in special casing these variables since 99% of users will never want to change them. |
Oh, looks like we already made the change after we landed the 2.1.0 tag: https://docs.couchdb.org/en/latest/cluster/theory.html and specifically: |
Ok I got your point. So Then if users want to deploy couchdb cluster without volume mapping, could they just do Above situation is similar to the case of OpenWhisk. |
Correct, the desired approach is to mount |
Overview
This pr is to add environment variables for CouchDB clustering.
Testing recommendations
GitHub issue number
none
Related Pull Requests
none
Checklist