configure SSH_PORT via env var to fix clone URL display

This commit is contained in:
2026-04-23 19:06:08 +08:00
parent 58f31e698d
commit a43815d4a0
3 changed files with 8 additions and 1 deletions

View File

@@ -8,6 +8,9 @@ SSH_PORT=2222
# 时区
TZ=Asia/Shanghai
# SSH 端口配置(告知 Gitea 对外 SSH 端口,用于 clone 地址显示)
GITEA__server__SSH_PORT=${SSH_PORT}
# Git LFS 配置
GITEA__lfs__START_SERVER=true
GITEA__lfs__PATH=/data/git/lfs