-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot mount a custom cassandra.yaml #58
Comments
@tianon @yosifkit what do you thing to add and additional env variable and perform something like the following code:
|
Not sure I would be a fan of the I have two possible workarounds to avoid the inode issue:
|
Hi @yosifkit thank you for the feedback,
|
I tried @yosifkit 1st option and on bootup it still uses all the configs from default /var/lib/cassandra. I copied all configs from default /etc/cassandra then modified it, then I mounted it on docker container to /etc/cassandra the configs took effect but I'm getting this at the end
|
What is the status on this? |
FWIW One option is to use For example here's loading a cassandra.yaml from a volume
then inside the container I can see
Hope that helps! |
Looks like this issue is solved. #58 (comment) is a solid workaround. |
Just a comment (and let me know if I miss something important here): to me it seems that cassandra.yaml is created dinamically (with all RPC bind addresses based on docker networks and so on) and some env variables listed here: https://docs.docker.com/samples/library/cassandra/#environment-variables How is it possible then to use a custom static cassandra configuration in docker and docker compose/swarm environments? e.g.
Would be nice maybe to add the Authentication related variables to the list of ENV variables that are used by the image to produce cassandra.yaml
see #106 |
cassandra.yaml is actually 'sed' by docker-entrypoint.sh for listed ENV variables. So it should work to mount your own cassandra.yaml and let entrypoint substitute relevant variables. Sorry for confusion! |
FYI, this was finally fixed properly over in #160. |
Hello guys,
I'm hitting the same problem described here:
moby/moby#6011
so i cannot mount a custom cassandra.yaml file.
Is there any change that the community has already found a way to customise it?
The text was updated successfully, but these errors were encountered: