refactor(config): generate paas profile from default overlay

This commit is contained in:
William Valentin
2026-02-23 17:11:02 -08:00
parent 5b95eb1874
commit 076379bfc1
6 changed files with 268 additions and 19 deletions
+12 -2
View File
@@ -7,7 +7,18 @@ Key requirements:
- Bind on all interfaces: set `server.localhost: false`.
- Use the platform port: Flynn supports `PORT` env override (it overrides `server.port`).
This repo includes a PaaS-friendly config template at `config/paas.yaml`.
This repo includes a PaaS-friendly config profile at `config/profiles/paas.overlay.yaml`.
`config/paas.yaml` is generated from:
- `config/default.yaml` (canonical base)
- `config/profiles/paas.overlay.yaml` (PaaS overrides only)
Regenerate/check with:
```bash
pnpm config:profiles:generate
pnpm config:profiles:check
```
## Fly.io
@@ -53,4 +64,3 @@ Checklist:
- Ensure your config binds externally (`server.localhost: false`) or use the baked-in `config/paas.yaml`.
Optional blueprint: `deploy/render/render.yaml`