From 5509d9f9512cc6c3cd7c69ef8c64dc8c07d9ebd5 Mon Sep 17 00:00:00 2001 From: Ameen Rashad <7609895+vazra@users.noreply.github.com> Date: Sun, 11 Oct 2026 02:29:25 -0700 Subject: [PATCH 1/6] fix(ui): give each endpoint its own quick test domain in multi-endpoint templates --- docs/first-deploy/ui.md | 2 +- ui/src/components/TemplatePicker.svelte | 36 +++++++---- .../__tests__/TemplatePicker.test.js | 62 ++++++++++++++++++- ui/src/lib/__tests__/appTemplates.test.js | 45 ++++++++++++++ ui/src/lib/appTemplates.js | 25 ++++++++ 5 files changed, 156 insertions(+), 14 deletions(-) diff --git a/docs/first-deploy/ui.md b/docs/first-deploy/ui.md index 7d2baa64..78c1470d 100644 --- a/docs/first-deploy/ui.md +++ b/docs/first-deploy/ui.md @@ -22,7 +22,7 @@ The fastest way to deploy if you already have the dashboard open. Templates ask you to pick an **Access mode** before continuing: - - **Quick test** (default): SimpleDeploy auto-generates a `..sslip.io` domain and issues a self-signed cert via Caddy's internal CA. No DNS setup needed. Browsers will warn about the certificate until you install the root cert from the **Trust** page on your SimpleDeploy server (`/trust` on the server URL). Best for trying a template in minutes on a homelab, LAN, or VPS without public DNS. + - **Quick test** (default): SimpleDeploy auto-generates a `..sslip.io` domain (templates with more than one web address get one per address, e.g. `minio..sslip.io` and `minio-console..sslip.io`) and issues a self-signed cert via Caddy's internal CA. No DNS setup needed. Browsers will warn about the certificate until you install the root cert from the **Trust** page on your SimpleDeploy server (`/trust` on the server URL). Best for trying a template in minutes on a homelab, LAN, or VPS without public DNS. - **Custom domain**: You supply a real public domain and point its DNS at the server. TLS is provisioned automatically via Let's Encrypt. Best for production. - **Port only**: Skips the Caddy proxy entirely. Docker picks a random host port; you reach the app at `http://:`. Disabled for multi-endpoint templates. Best for SSH-tunnel or LAN-only testing. diff --git a/ui/src/components/TemplatePicker.svelte b/ui/src/components/TemplatePicker.svelte index e7f260d5..a8ffc5c5 100644 --- a/ui/src/components/TemplatePicker.svelte +++ b/ui/src/components/TemplatePicker.svelte @@ -1,5 +1,5 @@