add PostgreSQL to replace SQLite for better LFS upload concurrency
This commit is contained in:
@@ -18,6 +18,12 @@ GITEA__lfs__PATH=/data/git/lfs
|
||||
# 禁用公开注册(仅管理员可创建账号)
|
||||
GITEA__service__DISABLE_REGISTRATION=true
|
||||
|
||||
# PostgreSQL 配置
|
||||
POSTGRES_VERSION=16-alpine
|
||||
POSTGRES_DB=gitea
|
||||
POSTGRES_USER=gitea
|
||||
POSTGRES_PASSWORD=changeme
|
||||
|
||||
# 域名配置
|
||||
DOMAIN=git.example.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user