Deploy Capacitor dev hub (capacitor.tail5b443a.ts.net) with path routing #101
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform#101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-pal-e-platform→ Backlog (supportssop-capacitor-mobile-lifecycle)Repo
forgejo_admin/pal-e-platformUser Story
As Lucas testing local dev stacks on phone
I want a Tailscale hostname (capacitor.tail5b443a.ts.net) with path-based routing
So that each project's Docker Compose dev server is accessible via phone without stomping on archbox
Context
Mirrors the playground hub pattern. Playground has
playground.tail5b443a.ts.netwith paths per project. The capacitor dev hub does the same for Docker Compose dev servers running on the host. Implementation: k3s pod with nginx reverse-proxy + Tailscale funnel operator, routing paths to host ports (5173, 5174, etc.). Port convention defined insop-capacitor-mobile-lifecycle.File Targets
Files to create:
terraform/capacitor-dev-hub.tfor equivalent k3s manifest — nginx pod + Tailscale funnelAcceptance Criteria
capacitor.tail5b443a.ts.netresolves via Tailscale/mcd-tracker/proxies to host:5173/westside/proxies to host:5174Test Expectations
curl https://capacitor.tail5b443a.ts.net/mcd-tracker/returns the appcurl -s https://capacitor.tail5b443a.ts.net/Constraints
Checklist
Related
pal-e-platform— projectsop-capacitor-mobile-lifecycle— Dev URL sectionproject-capacitor-mobile— consumer tableClosing as superseded. The capacitor-dev approach (SPA path-proxying via nginx) was abandoned because SPAs cannot be path-proxied -- Vite assets use absolute paths from
/. Seefeedback_spa_no_subpath_proxy.md.The namespace and kustomize overlay have been fully removed:
capacitor-devnamespace deleted (was in CrashLoopBackOff with 500+ restarts)Each project now gets its own Tailscale hostname for dev instead of sharing a path-routed hub.
Superseded by #115.