docker-compose/thinkcentre/minecraft/docker-compose.yml

18 lines
467 B
YAML

services:
minecraft-server:
volumes:
- /mnt/data/minecraft/server:/data
- /mnt/data/minecraft/mods/server:/data/mods
environment:
- TYPE=FABRIC
- MEMORY=4G
- VERSION=1.20.1
- EULA=TRUE
- MOTD=Hej och välkommen!
ports:
- '25565:25565'
- '8123:8123' # dynmap
container_name: minecraft
image: itzg/minecraft-server