-
Notifications
You must be signed in to change notification settings - Fork 144
Description
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, 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 in the same thread. Is this still the best approach?
Much appreciated.