Hi,

I’m using the official docker image of couchdb 2.0 rc2 and want to mount some 
local configuration under local.d. 
Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it 
still apply to 2.0?), it should work. But I
just don’t make it. This is the command I used to start the container:

$ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 
klaemo/couchdb:2.0-rc2

There is one *.ini file under /home/ybian/local.d where I added cors and admin 
user configuration. I also verified that
this directory got mounted successfully by inspecting the container. But the 
configuration does not take any effect.
Seems to me that the *.ini file under local.d was not read at all.

I also found that `couchdb -c` command mentioned in the doc above does not work 
to show configuration file chain 
anymore.

Is local.d still expected to work in 2.0?

-Ying

  

Reply via email to