mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-05 20:10:29 +00:00
Updated examples for FTBA support
This commit is contained in:
@@ -3,9 +3,11 @@ version: '3.2'
|
|||||||
services:
|
services:
|
||||||
mc:
|
mc:
|
||||||
image: itzg/minecraft-server
|
image: itzg/minecraft-server
|
||||||
|
volumes:
|
||||||
|
- ./modpacks:/modpacks:ro
|
||||||
environment:
|
environment:
|
||||||
EULA: "true"
|
EULA: "true"
|
||||||
TYPE: FTB
|
TYPE: CURSEFORGE
|
||||||
FTB_SERVER_MOD: https://minecraft.curseforge.com/projects/all-the-mods-expert-remastered/files/2493900/download
|
CF_SERVER_MOD: /modpacks/SkyFactory_4_Server_4.1.0.zip
|
||||||
ports:
|
ports:
|
||||||
- 25565:25565
|
- 25565:25565
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ version: "3.7"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
mc:
|
mc:
|
||||||
image: itzg/minecraft-server
|
# FTBA support is only available in multiarch image tag
|
||||||
|
image: itzg/minecraft-server:multiarch
|
||||||
ports:
|
ports:
|
||||||
# expose the Minecraft server port outside of container
|
# expose the Minecraft server port outside of container
|
||||||
- 25565:25565
|
- 25565:25565
|
||||||
@@ -10,14 +11,13 @@ services:
|
|||||||
# REQUIRED for all types
|
# REQUIRED for all types
|
||||||
EULA: "TRUE"
|
EULA: "TRUE"
|
||||||
# Set server type (vs the default of vanilla)
|
# 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:
|
volumes:
|
||||||
# use a named, managed volume for data volume
|
# use a named, managed volume for data volume
|
||||||
- mc_forge:/data
|
- mc_ftb:/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
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# declared the named volume, but use default/local storage engine
|
# declared the named volume, but use default/local storage engine
|
||||||
mc_forge: {}
|
mc_ftb: {}
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
version: '3.2'
|
|
||||||
|
|
||||||
services:
|
|
||||||
mc:
|
|
||||||
image: itzg/minecraft-server
|
|
||||||
environment:
|
|
||||||
EULA: "true"
|
|
||||||
TYPE: FTB
|
|
||||||
FTB_SERVER_MOD: https://www.feed-the-beast.com/projects/ftb-presents-skyfactory-3/files/2481284
|
|
||||||
ports:
|
|
||||||
- 25565:25565
|
|
||||||
volumes:
|
|
||||||
- mc-ftb:/data
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
mc-ftb:
|
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
mc:
|
||||||
|
image: itzg/minecraft-server
|
||||||
|
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: FORGE
|
||||||
|
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
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
# declared the named volume, but use default/local storage engine
|
||||||
|
mc_forge: {}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
*.zip
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
Please server [modpacks downloaded from CurseForge](https://www.curseforge.com/minecraft/modpacks) in this directory.
|
||||||
|
|
||||||
|
The example [`docker-compose-curseforge.yml`](../docker-compose-curseforge.yml) references a modpack downloaded from <https://www.curseforge.com/minecraft/modpacks/skyfactory-4/files/2787018>.
|
||||||
Reference in New Issue
Block a user