Converted TYPE=CURSEFORGE to use image helper

This commit is contained in:
Geoff Bourne
2021-10-21 21:52:55 -05:00
parent 2eefb12e6b
commit 7b09e525e8
2 changed files with 47 additions and 45 deletions

View File

@@ -5,9 +5,14 @@ services:
image: itzg/minecraft-server:${IMAGE_TAG:-java8}
volumes:
- ./modpacks:/modpacks:ro
- data:/data
environment:
EULA: "true"
TYPE: CURSEFORGE
CF_SERVER_MOD: /modpacks/${MODPACK:-SkyFactory_4_Server_4.1.0.zip}
CF_SERVER_MOD: https://media.forgecdn.net/files/3012/800/SkyFactory-4_Server_4.2.2.zip
# CF_SERVER_MOD: /modpacks/${MODPACK:-SkyFactory_4_Server_4.1.0.zip}
ports:
- "25565:25565"
volumes:
data: {}