Document full production deploy (creds, Caddy, one-shot script).

Make AI/human redeploys repeatable via DEPLOY.md and npm run deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-19 22:17:51 +08:00
parent 2d97d5990f
commit 3a1545a3dd
4 changed files with 253 additions and 16 deletions

View File

@@ -1,5 +1,13 @@
# Public site origin (canonical, Open Graph, sitemap)
NEXT_PUBLIC_SITE_URL=https://your-domain.example
NEXT_PUBLIC_SITE_URL=https://cyd.smallzhiyuns.com
# Optional: absolute path to firmware parent (sibling projects or a mirror folder)
# Firmware root inside Docker (compose sets this)
# CYD_FIRMWARE_ROOT=/app/firmware
# Local discovery (optional; default scans sibling projects under ../)
# CYD_FIRMWARE_ROOT=C:\Users\dsx2016\Desktop\codes\cyd
# One-shot deploy (scripts/_deploy_remote.py) — defaults match DEPLOY.md
# CYD_DEPLOY_HOST=192.227.152.110
# CYD_DEPLOY_USER=root
# CYD_DEPLOY_PASS=Leaf448772566@