This commit is contained in:
Zengtudor 2024-12-29 13:16:43 +08:00
parent 1424239952
commit 12f09acab5
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -4,8 +4,8 @@ services:
container_name: minecraft-server
working_dir: /mc-server
environment:
- MAX_MEMORY=5G
- MIN_MEMORY=5G
- MAX_MEMORY=6G
- MIN_MEMORY=6G
- TZ=Asia/Shanghai
volumes:
- ${MC_DIR}:/mc-server