plan: admin port .13:3031 (3030=Langfuse)

This commit is contained in:
2026-08-08 07:41:58 +10:00
parent d441c13293
commit e317b9e1d8

View File

@@ -34,7 +34,7 @@ When someone finds a lost item and scans the tag:
| System | Stack | Port / DNS | Audience | Purpose |
|--------|-------|-----------|----------|---------|
| **Front-end** | **GOAT**: Go + HTMX + Alpine.js + Tailwind + **Postgres** | `.13:3020``where-woof.com` | Finders + owners | Public tag pages, scan flow, account setup/CRUD |
| **Admin** | Laravel + Filament/Cashier + Postgres | `.13:3030``admin.where-woof.com` | Staff (Sam) | Users, tags, plans, billing, system management |
| **Admin** | Laravel + Filament/Cashier + Postgres | `.13:3031``admin.where-woof.com` | Staff (Sam) | Users, tags, plans, billing, system management |
**One shared Postgres database.** Both apps are peers over it — the Go app reads/writes directly (via `pgx` / `sqlc`), Laravel manages the same schema, and **Laravel owns migrations** as the long-term convention. (Until Laravel exists, a canonical `db/schema.sql` is the source of truth.)
@@ -45,7 +45,7 @@ When someone finds a lost item and scans the tag:
**Domains:**
- Live site at InMotion Hosting redirects → `where-woof.com`**.35 (Caddy)** → **.13** (apps).
- `admin.where-woof.com` → .35 → .13:3030.
- `admin.where-woof.com` → .35 → .13:3031 (3030 = Langfuse).
## Database schema (v2)
@@ -128,7 +128,7 @@ User management, tag management (suspend/transfer), plans & billing (Stripe/Cash
### Dev (local on .27)
```bash
cd frontend && go run . --port 3020 # GOAT front-end
cd admin && php artisan serve --port 3030 # Laravel (later)
cd admin && php artisan serve --port 3031 # Laravel (later)
```
### Build + push to .13
@@ -163,7 +163,7 @@ where-woof.home.lab {
reverse_proxy 192.168.20.13:3020
}
admin.where-woof.com {
reverse_proxy 192.168.20.13:3030
reverse_proxy 192.168.20.13:3031
}
```