mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 14:24:28 +00:00
22 lines
690 B
YAML
22 lines
690 B
YAML
services:
|
|
mc:
|
|
# FTBA support is only available in non-Alpine images
|
|
image: itzg/minecraft-server:${IMAGE_TAG:-java8-multiarch}
|
|
ports:
|
|
# expose the Minecraft server port outside of container
|
|
- 25565:25565
|
|
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: ""
|
|
volumes:
|
|
# use a named, managed volume for data volume
|
|
- ftba:/data
|
|
|
|
volumes:
|
|
# declared the named volume, but use default/local storage engine
|
|
ftba: {}
|