Fed03 opened a new issue #33: How to build a custom image that setups itself URL: https://github.com/apache/couchdb-docker/issues/33 Hi, first of all thanks for the awesome image! I have 2 question that are one connected to the other. I'm trying to build a custom image to use with my app in a CI environment, so it would be perfect if it were all automatic: - the setup step: in couchdb you're required to manually did this - setting some config I know I can create my `local.ini` with my custom config, sadly the config I need to set is ``` [couch_peruser] enable = true ``` and it requires that the `_users`db exists. But it doesn't exist cause the setup is manual. The [couchdb documentation](http://docs.couchdb.org/en/2.1.0/install/setup.html#single-node-setup) says that the setup step via the dashboard can be made also by manually create the database via the http API so tried to create that dbs using `RUN curl -X PUT localhost:5984/_users` but I realized that this is possible only after the service is started. I tried to put that cmds inside the entrypoint directive but it overrides your entrypoint so nothing works Any hints on how to tackle this? thanks ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
