add compose.yaml

This commit is contained in:
m1ngsama 2025-11-02 18:13:50 +08:00
parent 3bafd84230
commit a177ec70d7

13
minecraft/compose.yaml Normal file
View file

@ -0,0 +1,13 @@
services:
mc:
image: itzg/minecraft-server:latest
pull_policy: daily
tty: true
stdin_open: true
ports:
- "25565:25565"
environment:
EULA: "TRUE"
volumes:
# attach the relative directory 'data' to the container's /data path
- ./data:/data