Search code examples
cassandracassandra-2.0cassandra-cli

Set cassandra.yaml settings like seeds through a script


What is the best way to set yaml settings? I am using docker containers and want to automate the process of setting cassandra.yaml settings like seeds, listen_address & rpc_address.

I have seen something like this in other yaml tools: <%= ENV['envsomething'] %>

Thanks in advance


Solution

  • Thank you for information.

    I was considering using https://github.com/go-yaml/yaml

    But this guy did the trick: https://github.com/abh1nav/docker-cassandra

    Thanks