mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-20 21:45:58 +00:00
Added support for Modrinth modpacks as a server type (#2128)
This commit is contained in:
20
examples/docker-compose-modrinth-modpack.yml
Normal file
20
examples/docker-compose-modrinth-modpack.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
mc:
|
||||
image: itzg/minecraft-server
|
||||
tty: true
|
||||
stdin_open: true
|
||||
ports:
|
||||
- "25565:25565"
|
||||
environment:
|
||||
EULA: "TRUE"
|
||||
TYPE: MODRINTH
|
||||
MODRINTH_PROJECT: https://modrinth.com/modpack/cobblemon-fabric/version/1.3.2
|
||||
# or could be https://modrinth.com/modpack/cobblemon-fabric for auto-upgrading to latest
|
||||
# or just cobblemon-fabric or 5FFgwNNP
|
||||
# and could replace version URL with
|
||||
# MODRINTH_VERSION_ID: nvrqJg44
|
||||
volumes:
|
||||
# attach the relative directory 'data' to the container's /data path
|
||||
- ./data:/data
|
||||
Reference in New Issue
Block a user