docker-compose/minecraft/docker-compose.yml

19 lines
404 B
YAML
Raw Normal View History

version: '3.3'
services:
minecraft-server:
volumes:
- ./server:/data
- ./mods:/data/mods
environment:
- TYPE=FABRIC
- MEMORY=4G
- VERSION=1.20.4
- EULA=TRUE
- MOTD=Hej och välkommen!
ports:
- '25565:25565'
container_name: minecraft
image: itzg/minecraft-server