feat: add local connector domain stack

This commit is contained in:
2026-08-01 22:23:14 +01:00
parent 2f2004a0ff
commit 98346336ea
3 changed files with 46 additions and 0 deletions
+14
View File
@@ -10,3 +10,17 @@ For production, place the service behind HTTPS and set `PUBLIC_BASE_URL` and
`APPROVAL_BASE_URL` to its HTTPS address. Scanning the TV QR code opens a phone
approval form protected by `PAIRING_SECRET`; replace that form with your own
identity provider for a production connector.
## Local OrbStack development
Copy `.env.example` to `.env`, set `MEDIA_ROOT` to an absolute directory with
video files, then start the shared-Caddy stack:
```sh
docker compose -p cleanstream-connector-local-domain -f docker-compose.local-domain.yml up -d
```
The connector is available at `https://cleanstream-connector.test`. The TV and
phone must be on the same LAN. Because this uses Caddy's internal certificate,
the phone must trust the local Caddy root certificate before it can open the QR
approval URL.