BokChoyWarrior commented on issue #292:
URL: https://github.com/apache/couchdb-docker/issues/292#issuecomment-5300159194
Hey, did you manage to figure this out? I am in the process of creating
something similar, but without the db_per_user flag.
It looks like you are setting up most things correctly, but I am not sure if
lots of the permissions/directory checks not existing will cause issues like
the grep errors you see at the start of your logs.
If I'm correct, setting an admin user and password and
`couchdb.single_node=true` should be enough to automatically create the
relevant databases... And then I think once the server is up (GET /_up) you
could set the couch_peruser config to true by writing it to `/etc/local.ini`
before restarting the server. This could bw done as part of entrypoint.sh,
checking if the value is false first to avoid an unnecessary restart each time
the container is started
I think in situations like this, it may be best to revert to the default
files in this official repo and then try to add these changes as minimally as
possible
--
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]