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:
12
.env.example
12
.env.example
@@ -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@
|
||||
|
||||
Reference in New Issue
Block a user