mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-01-10 19:28:43 +00:00
21 lines
798 B
YAML
21 lines
798 B
YAML
|
services:
|
||
|
mc:
|
||
|
image: itzg/minecraft-server
|
||
|
tty: true
|
||
|
stdin_open: true
|
||
|
ports:
|
||
|
# Game port
|
||
|
- "25565:25565/tcp"
|
||
|
environment:
|
||
|
EULA: "TRUE"
|
||
|
TYPE: AUTO_CURSEFORGE
|
||
|
CF_API_KEY: ${CF_API_KEY}
|
||
|
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/ftb-evolution
|
||
|
# This modpack includes an override client-side only mod that will prevent the server from starting.
|
||
|
# For more information on override exclusions see:
|
||
|
# https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/mod-platforms/auto-curseforge/#excluding-overrides-files
|
||
|
CF_OVERRIDES_EXCLUSIONS: mods/rgp_client*.jar
|
||
|
MEMORY: 6G
|
||
|
volumes:
|
||
|
# attach the relative directory 'data' to the container's /data path
|
||
|
- ./data:/data
|