mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-01-09 10:48:42 +00:00
22 lines
No EOL
664 B
YAML
22 lines
No EOL
664 B
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
ports:
|
|
- "25565:25565"
|
|
environment:
|
|
EULA: "true"
|
|
MODPACK_PLATFORM: AUTO_CURSEFORGE
|
|
CF_API_KEY: # allocate from https://console.curseforge.com/
|
|
CF_SLUG: vault-hunters-1-18-2
|
|
CF_FILENAME_MATCHER: "Update-10.0.0"
|
|
MOTD: "§4----- §2 Vault Hunters: 1.18.2u10.0.0 §4 -----§r\\n §4------ §e vaulthunters.gg §4------"
|
|
MEMORY: 6G # 4G for base server + 2G per player
|
|
CF_EXCLUDE_MODS: reauth
|
|
ALLOW_FLIGHT: true
|
|
ENABLE_COMMAND_BLOCK: true
|
|
DIFFICULTY: hard
|
|
volumes:
|
|
- mc-data:/data
|
|
|
|
volumes:
|
|
mc-data: {} |