docker-minecraft-server/examples/ftba/compose.yml

22 lines
622 B
YAML
Raw Normal View History

2020-05-31 23:39:53 +00:00
services:
mc:
image: itzg/minecraft-server
2020-05-31 23:39:53 +00:00
ports:
# expose the Minecraft server port outside of container
- "25565:25565"
2020-05-31 23:39:53 +00:00
environment:
# REQUIRED for all types
EULA: "TRUE"
# Set server type (vs the default of vanilla)
TYPE: FTBA
# Use Pack ID from https://www.feed-the-beast.com/modpacks/119-ftb-presents-direwolf20-120?tab=about
FTB_MODPACK_ID: "119"
# FTB_MODPACK_VERSION_ID: ""
2020-05-31 23:39:53 +00:00
volumes:
# use a named, managed volume for data volume
- data:/data
2020-05-31 23:39:53 +00:00
volumes:
# declared the named volume, but use default/local storage engine
data: {}