docker-compose/minecraft/docker-compose.yml

19 lines
543 B
YAML
Raw Permalink Normal View History

services:
minecraft-server:
volumes:
2024-12-08 13:48:35 +02:00
- /docker/minecraft/server:/data:rw,z
- /docker/minecraft/mods/server:/data/mods:rw,z
environment:
- TYPE=FABRIC
- MEMORY=4G
- VERSION=1.20.1
- EULA=TRUE
- MOTD=Hej och välkommen!
ports:
- '25565:25565'
2024-12-08 13:48:35 +02:00
- '25575:25575' # rcon
- '9123:8123' # dynmap (redirect, 8123 conflicts with HA)
container_name: minecraft
image: itzg/minecraft-server