mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-16 13:34:55 +00:00
21 lines
719 B
YAML
21 lines
719 B
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
environment:
|
|
EULA: "TRUE"
|
|
MODPACK_PLATFORM: AUTO_CURSEFORGE
|
|
# Example of overriding modloader version for a Fabric modpack
|
|
# Refer to https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/mod-platforms/auto-curseforge/#api-key
|
|
CF_SLUG: "cobblemon-fabric"
|
|
# Override the mod loader version from the modpack
|
|
CF_MOD_LOADER_VERSION: "0.16.14"
|
|
MEMORY: "4G"
|
|
ports:
|
|
- "25565:25565"
|
|
volumes:
|
|
- ./data:/data
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
# See https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/mod-platforms/auto-curseforge/#custom-modloader-versions
|