this repo has no description

rm memory limits for staging docker compose

-16
-16
docker-compose-staging.yaml
··· 98 98 CASSANDRA_RACK: 'rack1' 99 99 CASSANDRA_ENDPOINT_SNITCH: 'GossipingPropertyFileSnitch' 100 100 CASSANDRA_NUM_TOKENS: 256 101 - # Reduce memory usage for local development 102 - MAX_HEAP_SIZE: '512M' 103 - HEAP_NEWSIZE: '128M' 104 - # Override JVM opts to limit direct memory to fit in container 105 - JVM_OPTS: '-Xms512M -Xmx512M -XX:MaxDirectMemorySize=256M' 106 101 volumes: 107 102 - cassandra-data:/var/lib/cassandra 108 - # Limit container memory (increased to accommodate heap + direct memory + overhead) 109 - mem_limit: 2g 110 - memswap_limit: 2g 111 - # Disable swap for better performance 112 - mem_swappiness: 0 113 - # Allow memory locking (reduces warnings) 114 - ulimits: 115 - memlock: -1 116 - nofile: 117 - soft: 65536 118 - hard: 65536 119 103 healthcheck: 120 104 test: ["CMD-SHELL", "cqlsh -e 'describe cluster'"] 121 105 interval: 30s