Add write_readme, Caddy, and start prompt to wolf/homeassistant/js99er/minecraft
- wolf.sh: add Authelia SSO check, configure_caddy_for_service, write_readme, and prompt to start Wolf (it had none of these) - homeassistant.sh: add write_readme with access URL and manage commands - js99er.sh: add write_readme with access URL and manage commands - minecraft.sh: add write_readme with manage and backup commands Completes the service audit — all 49 services now have full interactive setup, standalone bootstrap, and self-documenting README in the deploy directory. https://claude.ai/code/session_014CCYqVwW6d6f5dw1qRokYt
This commit is contained in:
@@ -2489,6 +2489,25 @@ NETEOF
|
||||
echo " Run: sudo ./setup.sh backup"
|
||||
echo ""
|
||||
|
||||
write_readme "$MC_DIR" << MD
|
||||
# Minecraft — ${MC_NAME}
|
||||
|
||||
## Manage
|
||||
\`\`\`bash
|
||||
cd $MC_DIR
|
||||
docker compose up -d --build # start (builds image on first run)
|
||||
docker compose down # stop
|
||||
docker compose logs -f # logs
|
||||
docker compose pull && docker compose up -d --build # update
|
||||
\`\`\`
|
||||
|
||||
## Backups
|
||||
World data lives in \`./data\` — covered by Kopia/Borg if installed.
|
||||
\`\`\`bash
|
||||
sudo ./setup.sh backup
|
||||
\`\`\`
|
||||
MD
|
||||
|
||||
# ── Optional: start server and run pre-gen now ──────────────────────────────
|
||||
local START_MC=""
|
||||
prompt_yn "Start the Minecraft server now? (first build takes a few minutes) (y/n) [y]:" "y" START_MC
|
||||
|
||||
Reference in New Issue
Block a user