modified: .env.example

modified:   docker-compose.yaml
This commit is contained in:
SimolZimol
2025-12-08 21:42:33 +01:00
parent f243e06794
commit 76ec0f4d10
2 changed files with 9 additions and 3 deletions

View File

@@ -17,6 +17,8 @@ MC_VERSION=1.21
# ===== Server Name & Info =====
SERVER_NAME=Mein Minecraft Server
MOTD=§6Willkommen auf meinem Server!
# Server Port (ändere für jeden Server! z.B. 25565, 25566, 25567)
SERVER_PORT=25565
# ===== RAM Einstellungen =====
@@ -55,6 +57,7 @@ MAX_TICK_TIME=60000
# ===== RCON (für Console Zugriff) =====
RCON_PASSWORD=minecraft
# RCON Port (ändere für jeden Server! z.B. 25575, 25576, 25577)
RCON_PORT=25575
# ===== Operators (Admins) =====
@@ -69,6 +72,9 @@ TIMEZONE=Europe/Berlin
# ⚠️ WICHTIG: Diese Variablen MÜSSEN manuell in Coolify hinzugefügt werden!
# ========================================
# SFTP Port (ändere für jeden Server! z.B. 2222, 2223, 2224)
SFTP_PORT=2222
# SFTP Benutzername ist fest: mcadmin
# SFTP Passwort - ⚠️ UNBEDINGT ÄNDERN!

View File

@@ -66,8 +66,8 @@ services:
OPS: ${OPS:-}
ports:
- "25565:25565"
- "25575:25575"
- "${SERVER_PORT:-25565}:25565"
- "${RCON_PORT:-25575}:25575"
volumes:
- minecraft-data:/data
@@ -97,7 +97,7 @@ services:
restart: unless-stopped
ports:
- "2222:22"
- "${SFTP_PORT:-2222}:22"
volumes:
- minecraft-data:/home/mcadmin/minecraft