Skip to content

Invidious is an alternative front-end to YouTube

Document use of unix sockets for `db`

Fijxucc7cb94095a2
diff --git a/config/config.example.yml b/config/config.example.yml
index 7cc480c6..f3f43bba 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -8,6 +8,13 @@
## Database configuration with separate parameters.
## This setting is MANDATORY, unless 'database_url' is used.
##
+## Note: The 'db' setting allows the use of UNIX
+## sockets. To do so, set 'host' to ""
+## E.g:
+## password: kemal
+## host: ""
+## port: 5432
+##
db:
user: kemal
password: kemal