automa/nextcloud/.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

25 lines
497 B
Text

# @name Nextcloud
# @desc Nextcloud private cloud with MariaDB + Redis
# @url https://nextcloud.com
# @port NC_PORT
TZ=Asia/Shanghai
# Web interface
NC_PORT=8080
# Admin account — created on first startup
NC_ADMIN_USER=admin
NC_ADMIN_PASSWORD=
# Trusted domains — space-separated list of domains/IPs that can access Nextcloud
NC_TRUSTED_DOMAINS=localhost
# MariaDB database
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud
MYSQL_PASSWORD=
MYSQL_ROOT_PASSWORD=
# Redis cache
REDIS_PASSWORD=