I am trying to using elassandra (which is elasticsearch cassandra) in Docker image, so I am beginner with it. In such case, my question can be beginner level, sorry for that :)
I have started that docker image and I'm able to inserting data and searching it but I don't know how to create a new cluster. According to this documentation I need to find elasticsearch.yml file in my image but I couldn't find it via docker cli terminal: 
Thanks for your attention. Have a nice day!
CodePudding user response:
Looks like Aaron is correct. According to the code, it is injected into the same location as cassandra.yaml which is /etc/cassandra.
Source: docker-entrypoint.sh
# usage:
# config_injection CASSANDRA $CASSANDRA_CONFIG/cassandra.yaml
# config_injection ELASTICSEARCH $CASSANDRA_CONFIG/elasticsearch.yml
Source: Dockerfile
ENV CASSANDRA_CONFIG /etc/cassandra
CodePudding user response:
Converting my comment to an answer...
I'm not sure where it is in the image. But I remember reading that it ends up in /etc/cassandra/, same place as the cassandra.yaml.
Thanks to Erick for the validation!
