Deploy config for fit-os.dzenda.eu #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "deploy-fit-os"
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?
Production deployment config for https://fit-os.dzenda.eu.
wrangler.jsonc: newenv.productionwith the Workers custom domain, the production D1 (fit-os, EEUR) and KV ids, and the rate limits (bindings aren't inherited by environments). The top level stays a placeholder, so local dev keeps its local database and self-hosters aren't pointed at our resources.bun run deploy:fit=CLOUDFLARE_ENV=production vite build && wrangler deploy.Already done from this branch:
wrangler d1 create fit-os,wrangler kv namespace create OAUTH_KVwrangler d1 migrations apply fit-os --remote --env production(0000–0002)fit-os-productionwith a secrets file.TOKEN_ENCRYPTION_KEYandBETTER_AUTH_SECRETare freshly generated and kept in a git-ignored, owner-only.dev.vars.production.json, never committed.PUBLIC_URLis also set.Remaining before sign-in works: the owner sets
FIT_AUTH_CLIENT_ID/FIT_AUTH_CLIENT_SECRET(wrangler secret put … --env production) and registershttps://fit-os.dzenda.eu/auth/callbackon the FIT OAuth app.Smoke test so far: TLS and security headers OK, OAuth protected-resource and authorization-server metadata OK (S256 PKCE, DCR endpoint),
/mcpreturns 401 without a token.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.