mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-21 05:55:57 +00:00
Added support for downloading mods from Modrinth (#1577)
This commit is contained in:
@@ -9,6 +9,7 @@ services:
|
||||
GENERIC_PACKS: testing
|
||||
GENERIC_PACKS_PREFIX: /packs/
|
||||
GENERIC_PACKS_SUFFIX: .zip
|
||||
DEBUG: "true"
|
||||
volumes:
|
||||
- ./packs:/packs
|
||||
- ./data:/data
|
||||
|
||||
@@ -18,6 +18,7 @@ services:
|
||||
TYPE: CUSTOM
|
||||
CUSTOM_SERVER: /servers/fake.jar
|
||||
VERSION: 1.18.1
|
||||
DEBUG: "true"
|
||||
volumes:
|
||||
- ./packs:/packs
|
||||
- ./data:/data
|
||||
|
||||
15
tests/setuponlytests/modrinth/docker-compose.yml
Normal file
15
tests/setuponlytests/modrinth/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
mc:
|
||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||
environment:
|
||||
EULA: "true"
|
||||
SETUP_ONLY: "true"
|
||||
TYPE: FABRIC
|
||||
FABRIC_LAUNCHER: /servers/fake.jar
|
||||
CUSTOM_SERVER: /servers/fake.jar
|
||||
MODRINTH_PROJECTS: fabric-api,cloth-config
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./fake.jar:/servers/fake.jar
|
||||
0
tests/setuponlytests/modrinth/fake.jar
Normal file
0
tests/setuponlytests/modrinth/fake.jar
Normal file
1
tests/setuponlytests/modrinth/verify.sh
Normal file
1
tests/setuponlytests/modrinth/verify.sh
Normal file
@@ -0,0 +1 @@
|
||||
mc-image-helper assert fileExists "mods/cloth-config-*.jar" "mods/fabric-api-*.jar"
|
||||
Reference in New Issue
Block a user