docker-library / cassandra

Docker Official Image packaging for Cassandra
Apache License 2.0
263 stars 281 forks source link

Create keyspace on startup through docker-entrypoint-initdb.d #182

Closed pankaj-dahiya-devops closed 5 years ago

pankaj-dahiya-devops commented 5 years ago

This is a feature request (already request by many, manytimes),

Please provide a feature, through which .cql files will directly execute through copying them into docker-entrypoint-initdb.d folder.

I knew, there are many solutions available like making our own dockerfile! but I guess, the official dockerfile must include this option.

This will help a lot!

wglambert commented 5 years ago

Duplicate of https://github.com/docker-library/cassandra/issues/31 and https://github.com/docker-library/cassandra/issues/65

https://github.com/docker-library/cassandra/issues/31#issuecomment-426777266

the proper deployment of Cassandra is clustered, and is much more complicated to get right automatically. It is not recommended to use a standalone deployment, and I fear such a feature would encourage folks to do so . . .