Skip to content
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

Expose further settings in Cassandra #122

Conversation

sunnychanwork
Copy link

We would like to expose further settings in Cassandra which we find useful in production

storage_port
ssl_storage_port
native_transport_port
rpc_port
read_request_timeout_in_ms
request_timeout_in_ms
range_request_timeout_in_ms
write_request_timeout_in_ms
counter_write_request_timeout_in_ms

We would like to be able to configure a number of ports and timeout settings, which we found useful in our production environment.
@tianon
Copy link
Member

tianon commented Oct 3, 2018

I'm sorry, but honestly if we're going to do anything more with environment variables it would likely be in the opposite direction (which we won't do due to the backwards compatibility implications) -- modifying a YAML file via shell script is very fragile, and setting complex configuration in this way is not great. For custom configuration, the only/best recommendation is to provide an appropriate cassandra.yaml file to your running instance (via a new image with FROM / COPY in a short Dockerfile, via Docker Configs, via bind mount, etc).

Closing in favor of #160 + docker-library/docs#1317.

@HadesArchitect
Copy link

@yosifkit It's pretty sad it went the way that decreases the flexibility and usability of the docker image. We always can use cassandra.yaml file but in many cases ability to configure it via env vars is way much better. =/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants