Commit 71c2f9d1 authored by 吴文龙's avatar 吴文龙

增加Cassandra内存限制

parent 9f836d22
...@@ -34,6 +34,9 @@ services: ...@@ -34,6 +34,9 @@ services:
image: "cassandra:4.0.4" image: "cassandra:4.0.4"
ports: ports:
- "9042:9042" - "9042:9042"
environment:
HEAP_NEWSIZE: 256M
MAX_HEAP_SIZE: 1024M
volumes: volumes:
- ./tb-node/cassandra:/var/lib/cassandra - ./tb-node/cassandra:/var/lib/cassandra
tb-core1: tb-core1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment