Reign in Cassandra memory consumption when running tests

The environment variables are the same as the Cassandra Testcontainers
uses.
3.1.x
Moritz Halbritter 1 year ago
parent dc9a48030c
commit 0f019b0049

@ -4,4 +4,9 @@ services:
ports: ports:
- '9042' - '9042'
environment: environment:
- 'CASSANDRA_SNITCH=GossipingPropertyFileSnitch'
- 'JVM_OPTS=-Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.initial_token=0'
- 'HEAP_NEWSIZE=128M'
- 'MAX_HEAP_SIZE=1024M'
- 'CASSANDRA_ENDPOINT_SNITCH=GossipingPropertyFileSnitch'
- 'CASSANDRA_DC=dc1' - 'CASSANDRA_DC=dc1'

Loading…
Cancel
Save