maxkraft7 opened a new issue, #4742:
URL: https://github.com/apache/couchdb/issues/4742

   [NOTE]: # ( ^^ Provide a general summary of the request in the title above. 
^^ )
   
   ## Summary
   
   On your docker hub site you mentioned in the Caveats section the following: 
`Please note that CouchDB no longer autocreates system databases for you, as it 
is not known at startup time if this is a single-node or clustered CouchDB 
installation`. With an environment variable this could be done. right?
   
   [NOTE]: # ( Provide a brief overview of what the new feature is all about. )
   
   ## Desired Behaviour
   
   Make it possible to define the mode via an environment variable like this:
   
   ```shell
   docker run -e COUCHDB_MODE=SINGLE|CLUSTERED  -e COUCHDB_USER=admin -e 
COUCHDB_PASSWORD=password  couchdb
   ```
   
   [NOTE]: # ( Tell us how the new feature should work. Be specific. )
   [TIP]:  # ( Do NOT give us access or passwords to your actual CouchDB! )
   
   ## Possible Solution
   
   [NOTE]: # ( Not required. Suggest how to implement the addition or change. )
   Adapt the dockerfile to create the required databases for single mode if the 
environment variable `SINGLE` is present. 
   
   ## Additional context
   
   This feature matters to me so that newcomers have a easier time setting up 
couchdb. 
   
   [TIP]:  # ( Why does this feature matter to you? What unique circumstances 
do you have? )
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to