From 329d475106860b73707ed5f5d5a2d5d634a8100c Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Fri, 4 Nov 2022 15:00:28 +0800 Subject: [PATCH 1/2] limit memory --- docker-compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 6cf32b5a1..3e932ee60 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -81,6 +81,7 @@ services: KAFKA_LISTENERS: INSIDE://:9092,OUTSIDE://:9093 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: "INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT" KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE + KAFKA_HEAP_OPTS: "-Xmx512M -Xms256M" depends_on: - zookeeper From 624014572cf49fc0b653858b167a9616b29802d0 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Tue, 8 Nov 2022 17:06:18 +0800 Subject: [PATCH 2/2] Optimize the configuration --- .env | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 000000000..17f7ebb68 --- /dev/null +++ b/.env @@ -0,0 +1,3 @@ +USER=root +PASSWORD=openIM +DATA_DIR=./ \ No newline at end of file