.env. .env.example in the repository lists every one with a comment. This page covers the ones you are most likely to need.
Settings are read on every start. Change .env, then recreate the services.
Required
Use a different random value for every secret.
Sign-up
With an allowlist and email configured, people must verify their email before they can sign in.
Models
Server keys are optional. People can connect their own model accounts in the app. See Models.
Computers
Channels
Each channel turns on when its settings are present. See Channels for what each one does.Integrations
Storage and email
Email (verification, password reset, invites and sign-in codes) needs SMTP settings. See
docs/self-host.md for the full list, including single sign-on, backups and logging.