47 lines
993 B
JSON
47 lines
993 B
JSON
{
|
|
"db": {
|
|
"mysql": {
|
|
"charset": "utf8",
|
|
"host": "127.0.0.1:3306",
|
|
"name": "gitea",
|
|
"typ": "mysql"
|
|
},
|
|
"postgres": {
|
|
"charset": "utf8",
|
|
"host": "127.0.0.1:5432",
|
|
"name": "gitea",
|
|
"ssl_mode": "disable",
|
|
"typ": "postgres"
|
|
},
|
|
"sqlite": {
|
|
"name": "gitea",
|
|
"path": "/var/lib/gitea/gitea.db",
|
|
"typ": "sqlite"
|
|
}
|
|
},
|
|
"gitea": {
|
|
"config_path": "app.ini",
|
|
"disable_registration": true,
|
|
"etc_path": "/etc/gitea",
|
|
"http_addr": "localhost",
|
|
"http_port": 3000,
|
|
"name": "gitea",
|
|
"protocol": "http",
|
|
"require_signin_view": false,
|
|
"run_path": "/usr/local/bin/gitea",
|
|
"work_path": "/var/lib/gitea"
|
|
},
|
|
"gitea_ssh": {
|
|
"builtin_ssh_server_user": "git",
|
|
"ssh_port": 2022,
|
|
"ssh_root_path": "/home/gitea/.ssh",
|
|
"start_ssh_server": true
|
|
},
|
|
"user": {
|
|
"run_user": {
|
|
"group": "gitea",
|
|
"home": "/home/gitea",
|
|
"name": "gitea"
|
|
}
|
|
}
|
|
}
|