* Fix typos, grammar, and broken links
4 KiB
title | description | published | date | tags | editor | dateCreated |
---|---|---|---|---|---|---|
Configuration | true | 2021-05-23T16:58:24.054Z | markdown | 2021-01-28T20:39:13.768Z |
What can be configured and what are these configuration options?
The configuration file is located at invidious/config/config.yml.
-
channel_threads
(default1
) Number of threads to use for crawling videos from channels -
feed_threads
(default1
) Number of threads to use for refreshing subscription feeds
db:
user: kemal # your database user
password: kemal # your database password
host: localhost # database host
port: 5432 # postgres port
-
full_refresh
(defaultfalse
) When crawling channel videos, threads should refresh all videos uploaded by a channel -
https_only
(defaultfalse
) Used to tell Invidious it is accessed via https, set totrue
if you have for example a reverse proxy with a ssl certificate -
hmac_key
(defaultnil
) Signing key for CSRF tokens (whennil
is randomly generated on startup, can be any random string) -
domain
(defaultnil
) Domain to use for providingself
links in RSS feeds, issuing cookies, etc. -
use_pubsub_feeds
(defaultfalse
) Use server-side notifications provided by YouTube. Requiresdomain
andhmac_key
to be set -
default_home
(default"Popular"
) Default home page Moved intodefault_user_preferences
-
feed_menu
(default["Popular", "Trending", "Subscriptions"]
) Order of tabs on feed menu Moved intodefault_user_preferences
-
captcha_enabled
(defaulttrue
) Determine if CAPTCHA should be required for registration -
login_enabled
(defaulttrue
) Whether users should be able to login -
registration_enabled
(defaulttrue
) Whether new users should be able to register -
statistics_enabled
(defaultfalse
) Whether statistics should be available from/api/v1/stats
-
admins
(default[]
) List of user IDs that have access to administrator preferences -
external_port
(defaultnil
) Invidious should supply links to a different port (if running behind a proxy, for example). PubSub notifications (if enabled) will also be sent to this port -
default_user_preferences
(defaultConfigPreferences
) Default preferences to use for new and unregistered users, see #415 -
dmca_content
(default[]
) For compliance with DMCA requests, disables download widget for list of video IDs -
check_tables
(defaultfalse
) Check table integrity, automatically try to add any missing columns, create columns, etc. -
cache_annotations
(defaultfalse
) Cache annotations requested from IA, will not cache empty annotations or annotations that only contain cards -
banner
(defaultnil
) Optional banner to be displayed along top of page for announcements, etc. -
hsts
(defaulttrue
) For HTTP Strict Transport Security -
disable_proxy
(defaultfalse
) Disable proxy option serverwide (options: 'dash', 'livestreams', 'downloads', 'local') -
force_resolve
(defaultnil
) Force IPv4 or IPv6 connection to Google (options: 'ipv4', 'ipv6') see #811 -
pool_size
(default100
) Pool size for HTTP connections for youtube.com and ytimg.com (each domain has a separate pool ofpool_size
) -
admin_email
(defaultomarroth@protonmail.com
) Email provided to users for bug reports -
port
(default3000
) Default port for HTTP server -
host_binding
(default0.0.0.0
) Default host for HTTP server -
cookies
(defaultnil
) Cookies to be used when connecting to YouTube -
captcha_key
(defaultnil
) Anti-Captcha API key for solving YouTube CAPTCHAs, see #886. -
popular_enabled
(defaultfalse
) Whether to display popular videos of the instance.