compose/minecraft/docker-compose.yml

66 lines
1.6 KiB
YAML

version: "3"
services:
mc:
container_name: minecraft
image: itzg/minecraft-server:java21-alpine
restart: unless-stopped
ports:
- "25565:25565/tcp" # minecraft
- "25565:25565/udp" # plasmo-voice
- "25566:8123" # dynmap
environment:
EULA: "TRUE"
TYPE: "FABRIC"
FABRIC_LOADER_VERSION: "0.16.8"
TZ: "America/Moncton"
ENABLE_ROLLING_LOGS: "true"
MAX_MEMORY: "6G"
VERSION: "1.21.1"
MOTD: "Let's get it started in here"
SEED: "-2694942683531129739"
DIFFICULTY: "normal"
SNOOPER_ENABLED: "false"
ALLOW_FLIGHT: "true"
ENABLE_RCON: "true"
USE_AIKAR_FLAGS: "true"
OPS: "IsaacDaybreak"
MODRINTH_DOWNLOAD_DEPENDENCIES: "required"
MODRINTH_ALLOWED_VERSION_TYPE: "alpha"
# sdlink for discord integration
# dynmap for map viewer
MODRINTH_PROJECTS: |
fabric-api
lithium
ferrite-core
modernfix
krypton
debugify
no-chat-reports
vmp-fabric
noisium
c2me-fabric
leaves-be-gone
servercore
alternate-current
ksyxis
faster-random
railoptimization
recipecooldown
slumber
achievements-optimizer
helpfulcommands
headfix
sdlink
dynmap
fastback
sessility
rightclickharvest
netherportalfix
dismount-entity
plasmo-voice
double-doors
appleskin
jei
viafabric
volumes:
- /docker/appdata/minecraft:/data