1
0
Fork 0

Gitea 代理配置修复

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-07-17 19:00:15 +08:00
parent fd952589d7
commit 92195eace4
2 changed files with 8 additions and 13 deletions

View File

@ -35,7 +35,7 @@ additionalProperties:
required: true
rule: paramPort
type: number
- default: 222
- default: 22
envKey: PANEL_APP_PORT_SSH
labelZh: SSH 端口
labelEn: SSH Port
@ -92,40 +92,34 @@ additionalProperties:
labelEn: Database Name
required: true
type: text
- default: "Gitea: Git with a cup of tea"
- default: "Gitea"
edit: true
envKey: APP_NAME
labelZh: 应用名称
labelEn: Application Name
required: true
type: text
- default: "127.0.0.1"
- default: "localhost"
edit: true
envKey: DOMAIN
labelZh: HTTP 克隆域名
labelEn: HTTP Clone Domain
required: true
type: text
- default: "127.0.0.1"
- default: "localhost"
edit: true
envKey: SSH_DOMAIN
labelZh: SSH 克隆域名
labelEn: SSH Clone Domain
required: true
type: text
- default: "222"
edit: true
envKey: SSH_PORT
labelZh: SSH 克隆端口
labelEn: SSH Clone Port
required: true
type: text
- default: ""
edit: true
envKey: ROOT_URL
labelZh: 公共 URL (覆盖级)
labelEn: Public URL (Override)
required: false
rule: paramExtUrl
type: text
- default: "false"
edit: true
@ -171,8 +165,6 @@ additionalProperties:
required: true
type: select
values:
- label: 忽略
value: ""
- label: 开启
value: "true"
- label: 关闭

View File

@ -28,7 +28,10 @@ services:
- USER_UID=1000
- USER_GID=1000
- DB_HOST=${DB_HOSTNAME}:${DB_PORT}
- SSH_PORT=${PANEL_APP_PORT_SSH}
- GITEA__time__DEFAULT_UI_LOCATION=Asia/Shanghai
- GITEA__migrations__ALLOW_LOCALNETWORKS=true
- GITEA__api__ENABLE_SWAGGER=false
- GITEA__other__SHOW_FOOTER_POWERED_BY=false
- GITEA__git.config__http.proxy=${PROXY_URL}
- GITEA__git.config__https.proxy=${PROXY_URL}