automa/minecraft/.env.example
m1ngsama e5542de818 polish: CLI UX overhaul and rich .env.example metadata
CLI improvements:
- Unicode status indicators (✔ ✘ ▶ ● ○ ⚠) and braille spinners
- Animated spinner for docker pull/up operations
- Project metadata parsed from .env.example (@name, @desc, @url, @port, @note)
- Descriptions shown in list, deploy selection, and status views
- Auto-generate passwords for secret fields (PASSWORD/TOKEN/AUTHKEY)
- Confirmation prompt before deploy with project summary
- Post-deploy access URL hint based on @port metadata
- Divider lines for visual section separation
- Helpful error messages with suggested commands
- Command aliases: ls, st, ps, down, log, configure
- Bash 3.2 compatible (no associative arrays)

.env.example enrichment:
- All projects now have @name, @desc, @url, @port metadata headers
- Inline field descriptions shown as context during interactive config
- Tailscale: @note hints for profile-based DERP deployment
- Structured comments group related settings visually

Installer:
- Prerequisite check with per-tool status (✔/✘)
- Quieter git operations
- Cleaner post-install instructions
2026-04-15 10:15:43 +08:00

23 lines
463 B
Text

# @name Minecraft
# @desc Fabric Minecraft server (itzg/minecraft-server)
# @url https://docker-minecraft-server.readthedocs.io
# @port MC_PORT
TZ=Asia/Shanghai
# Server type and version
MC_TYPE=FABRIC
MC_VERSION=1.21.1
# Memory allocation — adjust based on player count and mods
MC_MEMORY=4G
# Set to true for Mojang account verification
MC_ONLINE_MODE=false
# Ports
MC_PORT=25565
RCON_PORT=25575
# RCON password for remote console access
RCON_PASSWORD=