summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndre Borie <hi@rjevski.io>2021-01-30 14:52:48 +0000
committerAndre Borie <hi@rjevski.io>2021-01-30 19:33:58 +0000
commit79e99908def94a44c22af649c12ab0387151e7e9 (patch)
tree769b842d9df7c211dd4fbd7ce8f1b02d3d4558bc /config
parentc9a316ad353cd1ee38c34d1aff0759765b37b2b3 (diff)
downloadinvidious-79e99908def94a44c22af649c12ab0387151e7e9.tar.gz
invidious-79e99908def94a44c22af649c12ab0387151e7e9.tar.bz2
invidious-79e99908def94a44c22af649c12ab0387151e7e9.zip
Allow providing 12-Factor-style Database URL in config
Diffstat (limited to 'config')
-rw-r--r--config/config.example.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.example.yml b/config/config.example.yml
index e83a7515..e8330705 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -6,6 +6,8 @@ db:
host: localhost
port: 5432
dbname: invidious
+# alternatively, the database URL can be provided directly - if both are set then the latter takes precedence
+# database_url: postgres://kemal:kemal@localhost:5432/invidious
full_refresh: false
https_only: false
domain: