mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Use SQLite
Since we are running it as a service, PATH needs to be an absolute path. Remove gitea_db_directory as unused
This commit is contained in:
parent
d3d47fc3a5
commit
3bab4f2209
2 changed files with 2 additions and 3 deletions
|
@ -38,7 +38,6 @@ gitea_gpg_key: 7C9E68152594688862D62AF62D9AE806EC1592E2
|
|||
gitea_user: gitea
|
||||
gitea_home: "/home/{{ gitea_user }}" # SSH credentials stored here
|
||||
gitea_run_directory: "{{ gitea_root_directory }}"
|
||||
gitea_db_directory: "/library/dbdata/gitea"
|
||||
|
||||
gitea_url: /gitea
|
||||
gitea_full_url: "http://{{ iiab_hostname }}.{{ iiab_domain }}{{ gitea_url }}"
|
||||
|
|
|
@ -217,7 +217,7 @@ DSA = 1024
|
|||
|
||||
[database]
|
||||
; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
|
||||
DB_TYPE = mysql
|
||||
DB_TYPE = sqlite3
|
||||
HOST = 127.0.0.1:3306
|
||||
NAME = gitea
|
||||
USER = root
|
||||
|
@ -227,7 +227,7 @@ PASSWD =
|
|||
; For MySQL, either "false" (default), "true", or "skip-verify"
|
||||
SSL_MODE = disable
|
||||
; For "sqlite3" and "tidb", use an absolute path when you start gitea as service
|
||||
PATH = data/gitea.db
|
||||
PATH = {{ gitea_root_directory }}/data/gitea.db
|
||||
; For "sqlite3" only. Query timeout
|
||||
SQLITE_TIMEOUT = 500
|
||||
; For iterate buffer, default is 50
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue