Skip to content
Discussion options

You must be logged in to vote

Applies to: any version — this is how the project works by design.

No. A deployment refuses to start only over settings it cannot work without at all. That list is closed:

  • DATABASE_URL and BOT_TOKEN;
  • WEBHOOK_SECRET, once BOT_TOKEN is set;
  • RUN_BOT that is not false;
  • an OWNER_IDS or TIMEZONE set to a value that cannot be used;
  • a LESSONS_TARGET that names no target or is set on Vercel.

The check is Settings.deployment_problems() in server/app/config.py. It lists every problem at once. It applies when VERCEL is set or LESSONS_TARGET is set at all. It does not check a docker-compose deployment from server/Dockerfile. Do not add an optional setting to it.

A new setting needs:

  • a field on Sett…

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:contributor Whoever changes the code or the documents: setup, checks, where a change goes
1 participant