Initial commit

This commit is contained in:
2026-02-10 18:38:13 +00:00
commit a0b21c3292
7 changed files with 130 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
services:
minecraft-server:
image: itzg/minecraft-server
stdin_open: true
tty: true
ports:
- "25565:25565"
- "25575:25575"
volumes:
- ./data:/data
- ./whitelist:/whitelist
environment:
EULA: "TRUE"
ENABLE_RCON: "TRUE"
RCON_PASSWORD: ${RCON_PASSWORD}
RCON_PORT: "25575"
MAX_PLAYERS: "69"
ICON: "https://example.com/icon.png"
TYPE: "PAPER"
VERSION: "1.21.4"
DIFFICULTY: "normal"
MEMORY: "2G"
INIT_MEMORY: "2G"
MAX_MEMORY: "4G"
SERVER_IP: ""
ENABLE_WHITELIST: "TRUE"
OVERRIDE_WHITELIST: "TRUE"
WHITELIST_FILE: /whitelist/whitelist.json
MOTD: "A Minecraft Server with docker"
restart: unless-stopped