]> source.dussan.org Git - gitea.git/commitdiff
add details for db socket listening (#7830)
authorAntoine GIRARD <sapk@users.noreply.github.com>
Mon, 12 Aug 2019 21:52:11 +0000 (23:52 +0200)
committertechknowlogick <techknowlogick@gitea.io>
Mon, 12 Aug 2019 21:52:11 +0000 (17:52 -0400)
docs/content/doc/advanced/config-cheat-sheet.en-us.md

index 89f57d9b0c0d48887ab86909369cad6c7ba3b95e..3c6a306b9513295a9f04d8f3f93ae5bdcf01004a 100644 (file)
@@ -156,7 +156,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
 ## Database (`database`)
 
 - `DB_TYPE`: **mysql**: The database type in use \[mysql, postgres, mssql, sqlite3\].
-- `HOST`: **127.0.0.1:3306**: Database host address and port.
+- `HOST`: **127.0.0.1:3306**: Database host address and port or absolute path for unix socket \[mysql, postgres\] (ex: /var/run/mysqld/mysqld.sock).
 - `NAME`: **gitea**: Database name.
 - `USER`: **root**: Database username.
 - `PASSWD`: **\<empty\>**: Database user password. Use \`your password\` for quoting if you use special characters in the password.