From a177ec70d7303d2dd18dbc2b13fe159b70ca456b Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Sun, 2 Nov 2025 18:13:50 +0800 Subject: [PATCH] add compose.yaml --- minecraft/compose.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 minecraft/compose.yaml diff --git a/minecraft/compose.yaml b/minecraft/compose.yaml new file mode 100644 index 0000000..e0734a7 --- /dev/null +++ b/minecraft/compose.yaml @@ -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