docker-minecraft-server/examples/docker-compose-simple.yml

12 lines
237 B
YAML

version: "3"
services:
mc:
image: itzg/minecraft-server
ports:
- 25565:25565
environment:
EULA: "TRUE"
volumes:
# attach the relative directory 'data' to the container's /data path
./data:/data