Improve README for configuration changes, closes #47#65
Conversation
|
One weakness of this approach is that it means you cannot externalise I am torn on this point. There are parameters in there (like the erlang cookie) that would be good to persist. However, externalising the entire Perhaps we just add a new env var just for |
|
The issue with not being able to expose I think with docker that it's possible to bind-mount files as well as directories isn't it? Might be something to suggest as well 👍 |
|
Looks like as long as you're not on Windows, you can bind-mount a single file. I'll update. Any other comments? |
Overview
README.md was misleading on the desired approach for making configuration changes, leading to PRs like #32. This makes it clearer that if you need more than you can get from a few simple env vars, you should be mounting
/opt/couchdb/etc/local.das a volume and persisting it to disk.By specifying the
local.dsubdirectory we ensure that upstream image default changes to/opt/couchdb/etc/default.ini, as well as docker-specific upstream changes in/opt/couchdb/etc/default.d, are unaffected by externalisation of this volume.Testing recommendations
Read it!
GitHub issue number
Closes #47
Checklist