Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smok-serwis/cassandra-docker-dev
A Cassandra image for development only. Supports writing in a pre-provided schema.
https://github.com/smok-serwis/cassandra-docker-dev
cassandra ci docker nosql nosql-database
Last synced: 3 days ago
JSON representation
A Cassandra image for development only. Supports writing in a pre-provided schema.
- Host: GitHub
- URL: https://github.com/smok-serwis/cassandra-docker-dev
- Owner: smok-serwis
- License: mit
- Created: 2020-03-19T19:16:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T18:09:36.000Z (about 2 months ago)
- Last Synced: 2024-11-13T19:21:07.701Z (about 2 months ago)
- Topics: cassandra, ci, docker, nosql, nosql-database
- Language: Shell
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cassandra-docker-dev
====================Have you ever been in a situation where your project
needed a quick Cassandra, but writing it a Dockerfile
proved too cumbersome? **cassandra-docker-dev** to the
rescue!# Usage
Place your CQL file, named `schema.cql` in the same
directory in which you have placed your Dockerfile,
containing a single line:```dockerfile
FROM smokserwis/cassandra-dev-docker
```This schema will be loaded and the resulting image
will be of a Cassandra 4.1.7 with preloaded schema.Thank you!
## I have the schema in multiple files!
Don't worry, `cassandra-docker-dev` has you covered. Just add the following to your Dockerfile:
```
ADD schema_extra /tmp/schema_extra.cql
```The file has to be named /tmp/schema*.cql, since this is what `cassandra-docker-dev` will try to
load. All files having the name of `schema*.cql` will be added from the current directory
automatically.
Of course you still need to place `schema.cql` so place there your main schema, with the schemas
for tools named like `schema_jaeger.cql`.