You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "esurface (via GitHub)" <gi...@apache.org> on 2023/06/21 23:18:39 UTC

[GitHub] [couchdb-docker] esurface opened a new issue, #247: Looking for clarity on setting up couchdb single_node with docker-compose

esurface opened a new issue, #247:
URL: https://github.com/apache/couchdb-docker/issues/247

   
   ## Expected Behavior
   
   I am trying to set up a single node instance of **couchdb:2** using docker-compose. I understand from reading the README the limitation that the `_users`,  `_replicator` and `global_changes` dbs need to be set up after installation.  I tried adding the `single_node=true` config in a `local.ini` file and copying that  to `/opt/couchdb/etc/` and `/opt/couchdb/etc/local.d` in via Dockerfile. Neither of those approaches seem to work. According to this [comment](https://github.com/apache/couchdb/discussions/2948#discussioncomment-29228), this seems to be a valid approach.  
   
   Is it not a viable solution for **couchdb:2**?
   
   FWIW: Here is the `local.ini` file from inside the container:
   ```
   root@528ea27a75a7:/opt/couchdb/etc/# cat local.ini 
   [couchdb]
   single_node = true
   
   [chttpd]
   bind_address = any
   
   [httpd]
   bind_address = any
   
   [couch_httpd_auth]
   require_valid_user = true
   
   [chttpd]
   require_valid_user = true
   ```
   
   If not, then I need to create the `_users`, `_replicator` and `_global_changes` dbs a different way. I see [this comment](https://github.com/apache/couchdb-docker/issues/54#issuecomment-520153526) in the same thread. Is this still the best approach? 
   
   Much appreciated. 
   
   
   


-- 
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: notifications-unsubscribe@couchdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org