Use PostgreSQL instead of SQLite
This commit is contained in:
@@ -27,14 +27,15 @@ docker-compose restart
|
||||
|
||||
所有 Gitea 數據存儲在 `./data` 目錄下,包含:
|
||||
- Git repositories
|
||||
- 數據庫(默認使用 SQLite)
|
||||
- 配置文件
|
||||
- 用戶上傳的文件
|
||||
|
||||
PostgreSQL 數據存儲在 `./postgres` 目錄下。
|
||||
|
||||
## 首次設置
|
||||
|
||||
1. 啟動服務後訪問 http://localhost:3000
|
||||
2. 選擇數據庫類型(SQLite3)
|
||||
1. 啟動服務後訪問 http://localhost:31337
|
||||
2. 數據庫已自動配置(PostgreSQL)
|
||||
3. 設置管理員帳號
|
||||
4. 完成!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user