Reign in Cassandra memory consumption when running tests

The environment variables are the same as the Cassandra Testcontainers
uses.
This commit is contained in:
Moritz Halbritter
2023-09-14 11:20:22 +02:00
parent dc9a48030c
commit 0f019b0049

View File

@@ -4,4 +4,9 @@ services:
ports:
- '9042'
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'