docker-minecraft-server/examples/vault-hunters-1-18-2/docker-compose.yml

24 lines
654 B
YAML
Raw Normal View History

services:
mc:
2024-12-28 23:20:56 +00:00
image: itzg/minecraft-server:java17
ports:
- "25565:25565"
environment:
EULA: "true"
MODPACK_PLATFORM: AUTO_CURSEFORGE
2024-12-28 23:20:56 +00:00
# allocate from https://console.curseforge.com/
CF_API_KEY: ${CF_API_KEY}
CF_SLUG: vault-hunters-1-18-2
2024-12-28 23:20:56 +00:00
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
2024-12-28 23:20:56 +00:00
CF_EXCLUDE_MODS: |
reauth
ALLOW_FLIGHT: true
ENABLE_COMMAND_BLOCK: true
DIFFICULTY: hard
volumes:
- mc-data:/data
volumes:
2024-12-29 14:35:44 +00:00
mc-data: {}