How to create keyspace in start of cassandra docker image or on start of spring boot app

  cassandra, docker, spring-boot

I need to connect a spring boot app with Cassandra DB in docker container and i need to create keyspace on spring app startup or even on Cassandra container start. How can i achieve this?

Source: StackOverflow

LEAVE A COMMENT