I am using bitnami/cassandra docker image for cassandra. I guess it is starting also, but I am not sure how to connect cassandra through any GUI or tool.
What is the host for cassandra? I tried localhost and container name but not able to connect. I tried checking cassandra.yml file from docker container and listen_address is something alphanumeric value. What would be the public ip so I can connect through GUI or cqlsh.
How can I configure public IP or listen_address in cassandra.yml file or after starting cassandra docker container how can I connect it through GUI or any code.
Below is my docker-compose
cassandra:
image: bitnami/cassandra:latest
container_name: "cassandra"
ports:
- '7000:7000'
- '9042:9042' # native protocol clients
volumes:
- ./data/cassandra:/bitnami
environment:
- CASSANDRA_USER=user
- CASSANDRA_PASS=password
- CASSANDRA_CQL_PORT_NUMBER=9042
- CASSANDRA_PASSWORD_SEEDER=yes