This commit is contained in:
Zengtudor 2024-12-29 12:12:12 +08:00
parent 06bfbb13ab
commit 5b2c70eb54
2 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,4 @@
MC_DIR=/root/mc/renyuan/Server # 活动目录(主机上的路径)
JAR_FILE=./Purpur-1.20.1.jar # jar 文件的路径
MAX_MEMORY=7G
MIN_MEMORY=7G

View File

@ -1,6 +1,6 @@
services:
minecraft:
image: openjdk:17-jre # 使用 JRE 版本的镜像
image: openjdk:17 # 使用 JRE 版本的镜像
container_name: minecraft-server
working_dir: /mc-server
environment: