PORTHTTP port the server listens on
Default: 8000
You configure a Ryot server with environment variables. Set them on the ryot service in your
Docker Compose file (or your platform’s equivalent), then restart Ryot so it picks them up. Every
variable Ryot understands is listed under All parameters at the bottom of this
page.
You need three variables to start Ryot. The others are optional.
| Variable | What it does |
|---|---|
DATABASE_URL |
Required. The PostgreSQL connection string, such as postgres://postgres:postgres@ryot-db:5432/postgres. |
FRONTEND_URL |
Required. The exact address you open Ryot at, such as https://ryot.example.com. Nothing after the domain or port. Sign-in and trusted browser origins depend on it. |
SERVER_ADMIN_ACCESS_TOKEN |
Required. A long random secret that unlocks Instance Admin at <FRONTEND_URL>/instance-admin. Generate one with openssl rand -hex 16. Do not change it later; see below. |
TZ |
The time zone used for scheduled plugin jobs, as an IANA name such as Europe/Amsterdam. Default: Etc/GMT. |
USERS_ALLOW_REGISTRATION |
Set to false to stop new people from creating accounts. Default: true. |
DISABLE_TELEMETRY |
Set to true to turn off anonymous usage analytics. See Telemetry. |
Other topics have their own pages:
Some metadata providers, such as TMDB for movies and shows, need credentials before Ryot can search them. Each provider has a step-by-step guide under Metadata providers, starting with Movies and shows.
Settings for built-in plugins follow one naming pattern:
RYOT_PLUGIN__<PUBLISHER>__<NAME>__<SETTING>The publisher and name come from the plugin’s package ID, uppercased, with - replaced by _. For
the Media plugin (ryot/media), every variable starts with RYOT_PLUGIN__RYOT__MEDIA__, for
example RYOT_PLUGIN__RYOT__MEDIA__TMDB_ACCESS_TOKEN. These names do not change if a plugin’s
display name changes.
Plugins that you install yourself (private plugins) never read these environment variables. You configure them in their installation settings instead.
Ryo, Ryot’s built-in assistant, needs an AI model provider. You can set a default provider for everyone on the server, and each person can choose their own. Chatting with Ryo requires Ryot Pro.
The provider must offer an OpenAI-compatible Chat Completions API with streaming and tool calling.
| Variable | What to set |
|---|---|
SERVER_ASSISTANT_BASE_URL |
The API address including its prefix, such as https://api.openai.com/v1. No credentials, query or fragment. |
SERVER_ASSISTANT_MODEL |
The model name your provider uses. |
SERVER_ASSISTANT_API_KEY |
Optional. The API key, if your provider needs one. |
SERVER_ASSISTANT_CONTEXT_WINDOW |
Optional. The model’s context window in tokens. Default: 496,000. |
SERVER_ASSISTANT_MAX_OUTPUT_TOKENS |
Optional. The most tokens the model may write in one reply. Default: 32,000. It must be smaller than the context window. |
Set the base URL and the model together, or neither. Before a conversation outgrows the context window, Ryo summarizes older messages. It also does this when the provider reports that a request is too long.
Each person can add a provider under Settings → Ryo. Their provider replaces the server default completely, including its context window and output limit, so a personal provider without a key never borrows the server’s key.
Unauthenticated local model servers work. Ryot blocks requests to private and local addresses by
default, so allow the model server’s network with SERVER_EGRESS_ALLOWED_NETWORKS (see
below) and use its API address:
services: ryot: environment: - SERVER_ASSISTANT_BASE_URL=http://127.0.0.1:11434/v1 - SERVER_ASSISTANT_MODEL=your-model - SERVER_EGRESS_ALLOWED_NETWORKS=127.0.0.0/8By default, Ryot only sends web notifications to public HTTPS addresses. Enter the destination’s final URL, because redirects are not followed. The same rules apply to test notifications, automatic notifications and channels you saved earlier.
To send notifications to a Gotify, ntfy or Apprise server on your own network, allow its network as described next and restart Ryot. Destinations on an allowed private network can use HTTP or HTTPS.
SERVER_EGRESS_ALLOWED_NETWORKS lets Ryot reach addresses it normally refuses, such as your home
network or localhost. It takes a comma-separated list of networks in CIDR notation:
services: ryot: environment: - SERVER_EGRESS_ALLOWED_NETWORKS=192.168.1.20/32,127.0.0.0/8Point your uptime monitor or container health check at:
<FRONTEND_URL>/api/system/healthIt answers successfully when Ryot is running and can reach its database. It does not answer while Ryot is still starting up or applying an upgrade.
Run exactly one Ryot server process against a database. A second process fails to start while the first one is running. When you replace or upgrade Ryot, stop the old process before starting the new one.
This list is generated from the Ryot source code. Use the filter to find a variable.
No variables match your filter.
PORTHTTP port the server listens on
Default: 8000
TZIANA timezone used for plugin cron schedules
Default: Etc/GMT
DISABLE_TELEMETRYDisable anonymous usage analytics reported by the client
Default: false
FRONTEND_URLRequiredExact origin users browse to; defines OAuth issuer and callbacks. HTTPS strongly recommended
Default: https://app.ryot.io
USERS_DEMO_ACCOUNT_IDExisting user ID used by the shared interactive demo
USERS_ALLOW_REGISTRATIONAllow new users to register via email and password
Default: true
USERS_DISABLE_LOCAL_AUTHDisable local email/password authentication, requiring OIDC
Default: false
SERVER_PRO_KEYSecretThe key that can be used to enable Ryot Pro features
SERVER_DISABLE_NOTIFICATIONSDisable delivery of all notifications
Default: false
SERVER_DISABLE_PUBLICATIONSDisable creating and visiting read-only publications of user content
Default: false
SERVER_ADMIN_ACCESS_TOKENRequiredSecretBearer token required for instance-admin admin endpoints
SERVER_EGRESS_ALLOWED_NETWORKSComma-separated CIDR networks that outbound requests from plugins, notifications, and OAuth may reach although they are loopback, private, or otherwise special-purpose, such as 192.168.1.0/24; link-local, metadata, multicast, and unspecified ranges cannot be allowed
SERVER_OIDC_CLIENT_IDOIDC client ID
SERVER_OIDC_ISSUER_URLOIDC issuer URL
SERVER_OIDC_CLIENT_SECRETSecretOIDC client secret
SERVER_SMTP_SERVERSMTP server hostname
SERVER_SMTP_USERSecretSMTP username
SERVER_SMTP_PASSWORDSecretSMTP password
SERVER_SMTP_MAILBOXSMTP sender mailbox
Default: Ryot <[email protected]>
SERVER_ASSISTANT_MODELProvider model identifier
SERVER_ASSISTANT_BASE_URLChat Completions API base URL, including its API prefix
SERVER_ASSISTANT_API_KEYSecretOptional provider API key; omit for unauthenticated endpoints
SERVER_ASSISTANT_MAX_OUTPUT_TOKENSMost tokens the model may generate in one response. Defaults to 32000
SERVER_ASSISTANT_CONTEXT_WINDOWModel context window in tokens; Ryo compacts older history before exceeding it. Defaults to 496000
SANDBOX_MEMORY_BUDGET_MIBAggregate memory reservation budget for sandbox processes and execution buffers; derived as the smaller of 1536 MiB and half of effective memory when unset
SANDBOX_PER_USER_SIDECARSRun each plugin owner's user-tier scripts in their own sidecar processes instead of shared ones; use when mutually untrusted users share an instance
Default: false
SANDBOX_IMPORT_CONCURRENCYMaximum provider imports running at once across all instances; the rest wait in a queue. Keep it equal to the total SANDBOX_WORKER_CONCURRENCY of all instances
Default: 2
SANDBOX_WORKER_CONCURRENCYGlobal sandbox execution concurrency across trust and snapshot tiers; each process opens up to 5 + 3 × this many PostgreSQL connections, so keep it within available database and memory headroom
Default: 2
DATABASE_URLRequiredSecretPostgreSQL connection string
DATABASE_CONNECTION_TIMEOUT_MSMaximum milliseconds to wait when acquiring a PostgreSQL connection from the pool
Default: 10000
FRONTEND_OIDC_BUTTON_LABELLabel for the OIDC sign-in button
FRONTEND_UMAMI_HOST_URLOrigin of the Umami instance that receives analytics events
FRONTEND_UMAMI_WEBSITE_IDUmami website identifier reported alongside analytics events
SCHEDULER_INFREQUENT_CRON_JOBS_SCHEDULECron expression used by plugin crons assigned to the infrequent tier
Default: 0 0 * * *
SCHEDULER_DISABLE_DISPATCHERSDisable automatic scheduler dispatchers (the frequent/infrequent cron tiers and plugin manifest crons)
Default: false
SCHEDULER_FREQUENT_CRON_JOBS_SCHEDULEInterval phrase for the frequent cron tier; runs are aligned to interval boundaries rather than to process start time
Default: every 5 minutes
FILE_STORAGE_S3_REGIONS3 bucket region
FILE_STORAGE_S3_URLS3-compatible endpoint URL
FILE_STORAGE_S3_BUCKET_NAMES3 bucket name
FILE_STORAGE_S3_ACCESS_KEY_IDSecretS3 access key ID
FILE_STORAGE_S3_SECRET_ACCESS_KEYSecretS3 secret access key
OTEL_EXPORTER_OTLP_ENDPOINTBase URL for OTLP logs, traces, and metrics export
OTEL_EXPORTER_OTLP_HEADERSSecretComma-separated key=value headers sent with OTLP exports, such as the API token a hosted collector requires
SERVER_LOG_LEVELMinimum log level for file and OTLP logs; console logs always use info
Default: info
SERVER_LOG_FILEFile path for rotating structured logs
Default: ./logs/ryot.log
SERVER_LOG_ROTATION_SIZEMaximum active log file size before rotation, such as 10M
Default: 10M
SERVER_LOG_ROTATION_INTERVALUTC interval between log rotations, such as 1d
Default: 1d
AUTOMATIONS_MAX_DEPTHMaximum causal chain depth (1–64)
Default: 8
AUTOMATIONS_MAX_RUNSMaximum runs per root execution (1–10000)
Default: 100
AUTOMATIONS_RETRY_WINDOW_DAYSExecutable and configuration retention in days (1–90)
Default: 7
AUTOMATIONS_BATCH_MAX_ITEMSMaximum items in one batch change trigger (1–1000)
Default: 200
AUTOMATIONS_HISTORY_RETENTION_DAYSAutomation history retention in days (1–365), at least the retry window
Default: 30
RYOT_PLUGIN__RYOT__MEDIA__ANILIST_CLIENT_IDClient ID for AniList accounts
RYOT_PLUGIN__RYOT__MEDIA__METRON_USERNAMEUsername used to access Metron metadata
RYOT_PLUGIN__RYOT__MEDIA__TRAKT_CLIENT_IDClient ID used to import data from Trakt
RYOT_PLUGIN__RYOT__MEDIA__TWITCH_CLIENT_IDClient ID used to access IGDB metadata
RYOT_PLUGIN__RYOT__MEDIA__TVDB_API_KEYSecretAPI key used to access TVDB metadata
RYOT_PLUGIN__RYOT__MEDIA__SPOTIFY_CLIENT_IDClient ID for Spotify metadata & accounts
RYOT_PLUGIN__RYOT__MEDIA__MAL_CLIENT_IDClient ID used to access MyAnimeList metadata
RYOT_PLUGIN__RYOT__MEDIA__METRON_PASSWORDSecretPassword used to access Metron metadata
RYOT_PLUGIN__RYOT__MEDIA__TMDB_ACCESS_TOKENSecretAccess token used to access TMDB metadata
RYOT_PLUGIN__RYOT__MEDIA__HARDCOVER_API_KEYSecretAPI key used to access Hardcover metadata
RYOT_PLUGIN__RYOT__MEDIA__GIANT_BOMB_API_KEYSecretAPI key used to access Giant Bomb metadata
RYOT_PLUGIN__RYOT__MEDIA__ANILIST_CLIENT_SECRETSecretClient secret for AniList accounts
RYOT_PLUGIN__RYOT__MEDIA__TWITCH_CLIENT_SECRETSecretClient secret used to access IGDB metadata
RYOT_PLUGIN__RYOT__MEDIA__GOOGLE_BOOKS_API_KEYSecretAPI key used to access Google Books metadata
RYOT_PLUGIN__RYOT__MEDIA__LISTENNOTES_API_KEYSecretAPI key used to access Listen Notes metadata
RYOT_PLUGIN__RYOT__MEDIA__SPOTIFY_CLIENT_SECRETSecretClient secret for Spotify metadata & accounts
RYOT_PLUGIN__RYOT__MEDIA__PROGRESS_UPDATE_THRESHOLD_HOURSHours used to debounce repeated completion updates
Default: 2