Updated examples for FTBA support

This commit is contained in:
Geoff Bourne
2020-05-31 18:39:53 -05:00
parent 11989d17e3
commit 6da2aca975
6 changed files with 38 additions and 25 deletions

View File

@@ -2,7 +2,8 @@ version: "3.7"
services:
mc:
image: itzg/minecraft-server
# FTBA support is only available in multiarch image tag
image: itzg/minecraft-server:multiarch
ports:
# expose the Minecraft server port outside of container
- 25565:25565
@@ -10,14 +11,13 @@ services:
# REQUIRED for all types
EULA: "TRUE"
# Set server type (vs the default of vanilla)
TYPE: FORGE
TYPE: FTBA
# Use Pack ID from https://ftb.neptunepowered.org/pack/ftb-presents-direwolf20-1-12/
FTB_MODPACK_ID: "31"
volumes:
# use a named, managed volume for data volume
- mc_forge:/data
# attach local host directory "mods" in same directory as this compose file
# all mods in this directory get copied into /data/mods at startup
- ./mods:/mods:ro
- mc_ftb:/data
volumes:
# declared the named volume, but use default/local storage engine
mc_forge: {}
mc_ftb: {}