-
Overwriting Expected BehaviorI'd expect to just be able to mount my own Current Behavior
Steps to Reproduce (for bugs)The
Contextmy cluster was built via Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
Can you just change the mountpath to e.g. |
Beta Was this translation helpful? Give feedback.
-
I did try calling it Edit: And that's where the |
Beta Was this translation helpful? Give feedback.
-
We can file a PR to only touch the file if it does not exist, but then wouldn't you get stuck here? https://github.com/apache/couchdb-docker/blob/master/3.1.0/docker-entrypoint.sh#L59 |
Beta Was this translation helpful? Give feedback.
-
The issue Will is bringing up is that CouchDB requires write access to the last file in the config chain. If you make your file last ascibetically, you'll break CouchDB. If you place it prior to If you're OK with this, then that's the best workaround, and we'll document it. We'd recommend having a writeable config file placed in permanent storage outside of the system, but I wouldn't know exactly how to do that in your |
Beta Was this translation helpful? Give feedback.
-
Thanks for mulling this over with me!
The files i'm mounting come from a
Yep, that's definitely what's happening here.
This sounds like exactly the what I'm looking for. Is there also a magical file I can poke to solve the "you need to create |
Beta Was this translation helpful? Give feedback.
-
Great! That's the recommended approach, then. 😉
Try adding the following to your ini file:
Assuming, of course, you're deploying this as a single node and not a cluster. |
Beta Was this translation helpful? Give feedback.
-
@guest20 I've moved this over to our new GitHub Discussions since this is a help request that didn't result in a change to our code. Please mark this as solved if we've answered your question! Thanks for using CouchDB 👯♂️ |
Beta Was this translation helpful? Give feedback.
-
Thanks for the pointers @wohali !
Is |
Beta Was this translation helpful? Give feedback.
-
Yes! |
Beta Was this translation helpful? Give feedback.
Great! That's the recommended approach, then. 😉
Try adding the following to your ini file:
Assuming, of course, you're deploying this as a single node and not a cluster.