deploy-admin: add admin-live spec

This commit is contained in:
2026-08-08 07:38:34 +10:00
parent d88871e914
commit e5f13e77f1

View File

@@ -0,0 +1,15 @@
## ADDED Requirements
### Requirement: Admin runs on .13:3030
The Laravel admin SHALL run on .13 as a Docker service on port 3030, restarting on reboot, connecting to the shared Postgres.
#### Scenario: Service starts
- **WHEN** the admin container starts on .13
- **THEN** `localhost:3030` responds 200 (login page)
### Requirement: Reachable via admin.where-woof.com
The existing Caddy block SHALL reverse-proxy `admin.where-woof.com` to `.13:3030` once DNS resolves.
#### Scenario: Proxied request
- **WHEN** `admin.where-woof.com` resolves to the router and is requested via .35
- **THEN** the admin login page is served