42 lines
1.8 KiB
YAML
42 lines
1.8 KiB
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
container_name: minecraft-mc-1
|
|
ports:
|
|
- "25565:25565"
|
|
- "8100:8100" # BlueMap web (already on host, mapped through)
|
|
environment:
|
|
EULA: "TRUE"
|
|
TYPE: "MODRINTH"
|
|
VERSION: "1.21.1"
|
|
FABRIC_LOADER: "0.19.3"
|
|
INIT_MEMORY: "8G"
|
|
MAX_MEMORY: "10G"
|
|
# FKRPG server pack — packwiz mrpack from Gitea releases (includes all perf mods)
|
|
MODRINTH_MODPACK: "https://git.mithraic.cloud/ad3laid3/FKRPG/releases/download/v1.0.0/FKRPG-SERVER-v1.0.0.mrpack"
|
|
# All of these are now inside FKRPG-SERVER (krypton, c2me-fabric 0.4.0-alpha.0.27, modernfix, chunksmith 3.4.1, architectury-api, mythicmetals, simply-swords, bountiful, wilder-wild, kambrik, alloy-forgery, simply-tooltips, frozenlib, fabric-language-kotlin, owo-lib, alternate-current, etc.) — no extra fetch needed
|
|
# BlueMap is already on your server host as a standalone Fabric mod / plugin, not via the pack — keep it on host, don't duplicate here
|
|
# Keep excludes to strip any strays if you ever re-add a Modrinth pack that bundles them
|
|
MODRINTH_EXCLUDE_FILES: "*Chunky*,*chunky*,*voxy*,*Voxy*,*DistantHorizons*,*Sounds-2.2.1+1.20.1+fabric.jar*"
|
|
MOTD: "§b✨ §lWelcome, Traveler, to F##KRPG §r§b✨\n§3Choose your Origin. Master your Magic."
|
|
# Optional: force packwiz to allow alpha c2me etc. (already pinned in pack, but harmless to keep)
|
|
MODRINTH_ALLOWED_VERSION_TYPE: "alpha"
|
|
volumes:
|
|
- ./data:/data
|
|
tty: true
|
|
stdin_open: true
|
|
restart: unless-stopped
|
|
|
|
caddy:
|
|
image: caddy:alpine
|
|
container_name: caddy
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
|
- ./caddy_data:/data
|
|
- ./caddy_config:/config
|
|
depends_on:
|
|
- mc
|