From 5b2c70eb54e812a652b0071018abece03ceca3af Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sun, 29 Dec 2024 12:12:12 +0800 Subject: [PATCH] update --- rxr_mc/.env | 2 ++ rxr_mc/docker-compose.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rxr_mc/.env b/rxr_mc/.env index 926812e..3a183c9 100644 --- a/rxr_mc/.env +++ b/rxr_mc/.env @@ -1,2 +1,4 @@ MC_DIR=/root/mc/renyuan/Server # 活动目录(主机上的路径) JAR_FILE=./Purpur-1.20.1.jar # jar 文件的路径 +MAX_MEMORY=7G +MIN_MEMORY=7G \ No newline at end of file diff --git a/rxr_mc/docker-compose.yaml b/rxr_mc/docker-compose.yaml index 2d78a87..8b093ea 100644 --- a/rxr_mc/docker-compose.yaml +++ b/rxr_mc/docker-compose.yaml @@ -1,6 +1,6 @@ services: minecraft: - image: openjdk:17-jre # 使用 JRE 版本的镜像 + image: openjdk:17 # 使用 JRE 版本的镜像 container_name: minecraft-server working_dir: /mc-server environment: