mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 16:04:03 +00:00
docs(runbooks): align env setup notes
This commit is contained in:
@@ -61,6 +61,12 @@ bun run review:coderabbit
|
|||||||
- Drizzle config is in `packages/db/drizzle.config.ts`.
|
- Drizzle config is in `packages/db/drizzle.config.ts`.
|
||||||
- Typed environment validation lives in `packages/config/src/env.ts`.
|
- Typed environment validation lives in `packages/config/src/env.ts`.
|
||||||
- Copy `.env.example` to `.env` before running app/database commands.
|
- Copy `.env.example` to `.env` before running app/database commands.
|
||||||
|
- Local bot feature flags come from env presence:
|
||||||
|
- finance commands require `DATABASE_URL` and `HOUSEHOLD_ID`
|
||||||
|
- purchase ingestion also requires `TELEGRAM_HOUSEHOLD_CHAT_ID` and `TELEGRAM_PURCHASE_TOPIC_ID`
|
||||||
|
- anonymous feedback also requires `TELEGRAM_FEEDBACK_TOPIC_ID`
|
||||||
|
- reminders require `SCHEDULER_SHARED_SECRET` or `SCHEDULER_OIDC_ALLOWED_EMAILS`
|
||||||
|
- mini app CORS can be constrained with `MINI_APP_ALLOWED_ORIGINS`
|
||||||
- Migration workflow is documented in `docs/runbooks/migrations.md`.
|
- Migration workflow is documented in `docs/runbooks/migrations.md`.
|
||||||
- First deploy flow is documented in `docs/runbooks/first-deploy.md`.
|
- First deploy flow is documented in `docs/runbooks/first-deploy.md`.
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ Required in your environment `*.tfvars`:
|
|||||||
|
|
||||||
Recommended:
|
Recommended:
|
||||||
|
|
||||||
|
- `bot_feedback_topic_id`
|
||||||
- `bot_mini_app_allowed_origins`
|
- `bot_mini_app_allowed_origins`
|
||||||
- `scheduler_timezone`
|
- `scheduler_timezone`
|
||||||
- `scheduler_paused = true`
|
- `scheduler_paused = true`
|
||||||
|
|||||||
Reference in New Issue
Block a user