mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-24 14:53:52 +08:00
Gitea 代理配置修复
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
971d74ec2e
commit
a1a451846f
@ -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: 关闭
|
||||
|
@ -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}
|
||||
|
@ -1,6 +1,6 @@
|
||||
USER_UID=1000
|
||||
USER_GID=1000
|
||||
APP_NAME="Gitea: Git with a cup of tea"
|
||||
APP_NAME="Gitea"
|
||||
RUN_MODE=prod
|
||||
DOMAIN=localhost
|
||||
SSH_DOMAIN=localhost
|
||||
@ -22,3 +22,19 @@ REQUIRE_SIGNIN_VIEW=false
|
||||
DEFAULT_UI_LOCATION=Asia/Shanghai
|
||||
ALLOW_LOCALNETWORKS=true
|
||||
ENABLE_SWAGGER=false
|
||||
GITEA__ui.meta__AUTHOR=新疆萌森软件开发工作室
|
||||
GITEA__ui.meta__DESCRIPTION=轻量级代码托管解决方案,支持自建和托管服务。
|
||||
GITEA__ui.meta__KEYWORDS=git,gitea,github,gitlab,gitee,code
|
||||
GITEA__server__LOCAL_ROOT_URL=http://localhost:3000/
|
||||
GITEA__security__REVERSE_PROXY_TRUSTED_PROXIES=*
|
||||
GITEA__picture__REPOSITORY_AVATAR_FALLBACK=random
|
||||
GITEA__attachment__MAX_SIZE=1024
|
||||
GITEA__git__MAX_GIT_DIFF_LINES=10000
|
||||
GITEA__git.timeout__DEFAULT=1800
|
||||
GITEA__git.timeout__MIGRATE=1800
|
||||
GITEA__git.timeout__MIRROR=1800
|
||||
GITEA__git.timeout__CLONE=900
|
||||
GITEA__git.timeout__GC=180
|
||||
GITEA__git.config__http.postBuffer=2147483648
|
||||
GITEA__git.config__core.compression=3
|
||||
no_proxy=localhost,127.0.0.1,::1
|
||||
|
Loading…
Reference in New Issue
Block a user