generator.server.springboot.database.cassandra.cassandra.yml.mustache Maven / Gradle / Ivy
# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
services:
cassandra:
image: {{ cassandraDockerImage }}
container_name: cassandra
# If you want to expose these ports outside your dev PC,
# remove the "127.0.0.1:" prefix
ports:
- '127.0.0.1:9042:9042' # cql native port
environment:
- CASSANDRA_DC={{ DC }}
#volumes:
# - /custom/cassandra/data/dir:/var/lib/cassandra