docker-minecraft-server/examples/vault-hunters-1-18-2/docker-compose.yml
2024-12-28 17:20:56 -06:00

24 lines
No EOL
678 B
YAML

services:
mc:
image: itzg/minecraft-server:java17
ports:
- "25565:25565"
environment:
EULA: "true"
MODPACK_PLATFORM: AUTO_CURSEFORGE
# allocate from https://console.curseforge.com/
CF_API_KEY: ${CF_API_KEY}
CF_SLUG: vault-hunters-1-18-2
MOTD: "§4----- §2 Vault Hunters: 1.18.2 §4 -----§r\\n §4------ §e vaulthunters.gg §4------"
MEMORY: 6G # 4G for base server + 2G per player
CF_EXCLUDE_MODS: |
reauth
item-highlighter
ALLOW_FLIGHT: true
ENABLE_COMMAND_BLOCK: true
DIFFICULTY: hard
volumes:
- mc-data:/data
volumes:
mc-data: {}