Use per-deploy preview hosts under the site root domain.

Build hosts as <userPrefix>-<deploymentNumber>-preview.<rootDomain> from FRONTEND_URL, wire them through ingress/TLS, and open them from the preview API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-05-27 12:48:22 +03:30
parent 44ad1d63a0
commit be2587dcf5
8 changed files with 210 additions and 22 deletions
+4
View File
@@ -39,6 +39,10 @@ ingress:
clusterIssuer: letsencrypt-prod
customDomain: "" # Optional custom domain (e.g. "www.example.com")
# Optional additional host for per-deployment preview (e.g. abc123.platform.example.com).
# When set, the ingress will route traffic for this host to the same service and include it in TLS SANs.
previewHost: ""
# ── Database (MySQL or PostgreSQL) ───────────────────────
database:
enabled: false