Skip to content
Discussion options

You must be logged in to vote

server/app/config.py lists the secrets; SENTRY_DSN, GITHUB_READ_TOKEN came with #359, host.env is for the host target (beta).

For each secret: generate a value, set it in the server's settings, then update other copies.

Where settings live:

  • Vercel: values apply on next deploy — redeploy after each change.
  • Compose: edit the .env beside docker-compose.yml, then run docker compose up -d.
  • Host target: edit host.env, then restart it.

By secret:

  • BOT_TOKEN: in @Botfather, /revoke issues a new token, stopping the old; set it; webhooks re-register (setWebhook, see Registering the webhook), then check getWebhookInfo.
  • WEBHOOK_SECRET: generate one with python3 -c "import secrets; print(secrets.tok…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:server for:operator Whoever runs a server or builds and signs an APK of their own
1 participant