homelab/minecraft/docker-compose.yml

20 lines
316 B
YAML

version: "3.8"
services:
mc:
image: itzg/minecraft-server
environment:
EULA: "true"
MODS:
-
ports:
- "25565:25565"
volumes:
# - data:/data
- ./data:/data
- ./mods:/mods
stdin_open: true
tty: true
restart: unless-stopped
volumes:
data: {}