2023-05-14 18:09:54 +00:00
|
|
|
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
|
2023-05-15 23:23:43 +00:00
|
|
|
# or for auto-upgrading to latest
|
|
|
|
# MODRINTH_PROJECT: https://modrinth.com/modpack/cobblemon-fabric
|
2023-05-14 18:09:54 +00:00
|
|
|
# or just cobblemon-fabric or 5FFgwNNP
|
|
|
|
# and could replace version URL with
|
2023-05-15 23:23:43 +00:00
|
|
|
# MODRINTH_VERSION: nvrqJg44
|
|
|
|
# MODRINTH_VERSION: 1.3.2
|
|
|
|
# MODRINTH_VERSION: "Cobblemon [Fabric] 1.3.2"
|
|
|
|
SETUP_ONLY: "true"
|
2023-05-14 18:09:54 +00:00
|
|
|
volumes:
|
|
|
|
# attach the relative directory 'data' to the container's /data path
|
|
|
|
- ./data:/data
|