minecraft: add Create SMP server from local CurseForge modpack zip
This commit is contained in:
@@ -66,6 +66,29 @@ services:
|
|||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
# mem_limit: 2g
|
# mem_limit: 2g
|
||||||
|
|
||||||
|
create:
|
||||||
|
image: itzg/minecraft-server:latest
|
||||||
|
container_name: minecraft-create
|
||||||
|
ports:
|
||||||
|
- "55567:25565"
|
||||||
|
environment:
|
||||||
|
EULA: "true"
|
||||||
|
TYPE: "AUTO_CURSEFORGE"
|
||||||
|
CF_API_KEY: "${CF_API_KEY}"
|
||||||
|
CF_MODPACK_ZIP: "/modpack.zip"
|
||||||
|
SERVER_NAME: "Create SMP"
|
||||||
|
MODE: "survival"
|
||||||
|
OPS: "Jimcognito,OlympicJumperL"
|
||||||
|
ENFORCE_SECURE_PROFILE: "false"
|
||||||
|
MEMORY: "4G"
|
||||||
|
volumes:
|
||||||
|
- /srv/minecraft-create:/data
|
||||||
|
- /mnt/nas_projects/Create-OlympicJumperL-2026-08-06.zip:/modpack.zip:ro
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
restart: unless-stopped
|
||||||
|
mem_limit: 6g
|
||||||
|
|
||||||
# immersive:
|
# immersive:
|
||||||
# image: itzg/minecraft-server:latest
|
# image: itzg/minecraft-server:latest
|
||||||
# container_name: minecraft-immersive
|
# container_name: minecraft-immersive
|
||||||
|
|||||||
Reference in New Issue
Block a user