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

25 lines
706 B
YAML
Raw Normal View History

2021-05-14 03:51:47 +00:00
version: "3.8"
2020-05-31 23:39:53 +00:00
services:
mc:
# FTBA support is only available in non-Alpine images
image: itzg/minecraft-server:${IMAGE_TAG:-java8-multiarch}
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://ftb.neptunepowered.org/pack/ftb-presents-direwolf20-1-12/
FTB_MODPACK_ID: "31"
FTB_MODPACK_VERSION_ID: ""
2020-05-31 23:39:53 +00:00
volumes:
# use a named, managed volume for data volume
- ftba:/data
2020-05-31 23:39:53 +00:00
volumes:
# declared the named volume, but use default/local storage engine
ftba: {}