# ────────────────────────────────────────────────────────────────────────── # Minecraft server + dashboard configuration # Copy to .env (scripts/setup.sh does this and generates the secrets). # After changing values, apply with: docker compose up -d # ────────────────────────────────────────────────────────────────────────── # ── Minecraft ──────────────────────────────────────────────────────────── # Game version. Change and re-run `docker compose up -d mc` to upgrade. MC_VERSION=26.2 # Loader: FABRIC (default), NEOFORGE, FORGE, VANILLA, PAPER, ... SERVER_TYPE=FABRIC # JVM heap for the server. Host has 10 GB → 6G heap / 7g container limit. MC_MEMORY=6G MC_CONTAINER_MEM_LIMIT=7g MC_PORT=25565 # BlueMap web map port (used when the bluemap mod is installed) MAP_PORT=8100 MC_MOTD=A cozy server for friends MC_DIFFICULTY=normal MC_MAX_PLAYERS=10 MC_VIEW_DISTANCE=10 MC_SIMULATION_DISTANCE=8 # Leave empty for a random world seed MC_SEED= # Server-side mods (Modrinth project slugs, comma-separated). # Auto-resolved to the newest compatible release on every container start. # Append ":beta" to allow beta-typed builds for a project (EasyAuth ships # its 26.x builds as beta on Modrinth). MODRINTH_PROJECTS=fabric-api,easyauth:beta,spark,lithium,ferrite-core # To run a full modpack instead, set its Modrinth slug (e.g. adrenaline) # and see docs/mods-and-modpacks.md before enabling. MODRINTH_MODPACK= # ── Secrets (generated by scripts/setup.sh — never commit .env) ────────── RCON_PASSWORD=CHANGE_ME PANEL_SESSION_SECRET=CHANGE_ME # Initial dashboard admin password. Used only to seed the first login; # you are forced to change it in the UI afterwards. PANEL_ADMIN_PASSWORD=CHANGE_ME # ── Dashboard ──────────────────────────────────────────────────────────── DASHBOARD_PORT=8080 # Minutes an approved player has to /register before approval expires REGISTRATION_WINDOW_MINUTES=2 # Optional: Discord webhook for alerts (joins, downtime, backups, lag) DISCORD_WEBHOOK_URL= # ── Backups ────────────────────────────────────────────────────────────── # Interval between automatic backups (e.g. 6h, 24h) BACKUP_INTERVAL=24h # Delete backups older than this many days BACKUP_RETENTION_DAYS=7 # ── Misc ───────────────────────────────────────────────────────────────── TZ=UTC