diff options
author | Dirk <dirk@0x7be.de> | 2024-09-29 00:29:01 +0200 |
---|---|---|
committer | Dirk <dirk@0x7be.de> | 2024-09-29 00:29:01 +0200 |
commit | 5b17c1d6ebc39ab20327a502bea5bbc39a456846 (patch) | |
tree | 1bc2f10ec6013b838f8bf8e282ae924052e6ffd6 /custom/conf | |
parent | i18n: update of translations from Codeberg Translate (#5355) (diff) | |
download | forgejo-5b17c1d6ebc39ab20327a502bea5bbc39a456846.tar.xz forgejo-5b17c1d6ebc39ab20327a502bea5bbc39a456846.zip |
make sqlite3 the default database
Diffstat (limited to 'custom/conf')
-rw-r--r-- | custom/conf/app.example.ini | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 2eff51fe98..7eb4f1c655 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -349,16 +349,25 @@ RUN_USER = ; git ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; -;; Database to use. Either "mysql", "postgres", "mssql" or "sqlite3". +;; Database to use. Either "sqlite3", "mySQL", "postgres" or "mssql". +;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; +;; SQLite Configuration +;; +DB_TYPE = sqlite3 +;PATH= ; defaults to data/forgejo.db +;SQLITE_TIMEOUT = ; Query timeout defaults to: 500 +;SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; MySQL Configuration ;; -DB_TYPE = mysql -HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock -NAME = gitea -USER = root +;DB_TYPE = mysql +;HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock +;NAME = gitea +;USER = root ;PASSWD = ;Use PASSWD = `your password` for quoting if you use special characters in the password. ;SSL_MODE = false ; either "false" (default), "true", or "skip-verify" ;CHARSET_COLLATION = ; Empty as default, Gitea will try to find a case-sensitive collation. Don't change it unless you clearly know what you need. @@ -377,15 +386,6 @@ USER = root ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; -;; SQLite Configuration -;; -;DB_TYPE = sqlite3 -;PATH= ; defaults to data/forgejo.db -;SQLITE_TIMEOUT = ; Query timeout defaults to: 500 -;SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode -;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; MSSQL Configuration ;; ;DB_TYPE = mssql |