mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 13:16:13 +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
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 222
|
- default: 22
|
||||||
envKey: PANEL_APP_PORT_SSH
|
envKey: PANEL_APP_PORT_SSH
|
||||||
labelZh: SSH 端口
|
labelZh: SSH 端口
|
||||||
labelEn: SSH Port
|
labelEn: SSH Port
|
||||||
@ -92,40 +92,34 @@ additionalProperties:
|
|||||||
labelEn: Database Name
|
labelEn: Database Name
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
- default: "Gitea: Git with a cup of tea"
|
- default: "Gitea"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: APP_NAME
|
envKey: APP_NAME
|
||||||
labelZh: 应用名称
|
labelZh: 应用名称
|
||||||
labelEn: Application Name
|
labelEn: Application Name
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
- default: "127.0.0.1"
|
- default: "localhost"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: DOMAIN
|
envKey: DOMAIN
|
||||||
labelZh: HTTP 克隆域名
|
labelZh: HTTP 克隆域名
|
||||||
labelEn: HTTP Clone Domain
|
labelEn: HTTP Clone Domain
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
- default: "127.0.0.1"
|
- default: "localhost"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: SSH_DOMAIN
|
envKey: SSH_DOMAIN
|
||||||
labelZh: SSH 克隆域名
|
labelZh: SSH 克隆域名
|
||||||
labelEn: SSH Clone Domain
|
labelEn: SSH Clone Domain
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
- default: "222"
|
|
||||||
edit: true
|
|
||||||
envKey: SSH_PORT
|
|
||||||
labelZh: SSH 克隆端口
|
|
||||||
labelEn: SSH Clone Port
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: ""
|
- default: ""
|
||||||
edit: true
|
edit: true
|
||||||
envKey: ROOT_URL
|
envKey: ROOT_URL
|
||||||
labelZh: 公共 URL (覆盖级)
|
labelZh: 公共 URL (覆盖级)
|
||||||
labelEn: Public URL (Override)
|
labelEn: Public URL (Override)
|
||||||
required: false
|
required: false
|
||||||
|
rule: paramExtUrl
|
||||||
type: text
|
type: text
|
||||||
- default: "false"
|
- default: "false"
|
||||||
edit: true
|
edit: true
|
||||||
@ -171,8 +165,6 @@ additionalProperties:
|
|||||||
required: true
|
required: true
|
||||||
type: select
|
type: select
|
||||||
values:
|
values:
|
||||||
- label: 忽略
|
|
||||||
value: ""
|
|
||||||
- label: 开启
|
- label: 开启
|
||||||
value: "true"
|
value: "true"
|
||||||
- label: 关闭
|
- label: 关闭
|
||||||
|
@ -28,7 +28,10 @@ services:
|
|||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
- USER_GID=1000
|
- USER_GID=1000
|
||||||
- DB_HOST=${DB_HOSTNAME}:${DB_PORT}
|
- DB_HOST=${DB_HOSTNAME}:${DB_PORT}
|
||||||
|
- SSH_PORT=${PANEL_APP_PORT_SSH}
|
||||||
- GITEA__time__DEFAULT_UI_LOCATION=Asia/Shanghai
|
- GITEA__time__DEFAULT_UI_LOCATION=Asia/Shanghai
|
||||||
- GITEA__migrations__ALLOW_LOCALNETWORKS=true
|
- GITEA__migrations__ALLOW_LOCALNETWORKS=true
|
||||||
- GITEA__api__ENABLE_SWAGGER=false
|
- GITEA__api__ENABLE_SWAGGER=false
|
||||||
- GITEA__other__SHOW_FOOTER_POWERED_BY=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_UID=1000
|
||||||
USER_GID=1000
|
USER_GID=1000
|
||||||
APP_NAME="Gitea: Git with a cup of tea"
|
APP_NAME="Gitea"
|
||||||
RUN_MODE=prod
|
RUN_MODE=prod
|
||||||
DOMAIN=localhost
|
DOMAIN=localhost
|
||||||
SSH_DOMAIN=localhost
|
SSH_DOMAIN=localhost
|
||||||
@ -22,3 +22,19 @@ REQUIRE_SIGNIN_VIEW=false
|
|||||||
DEFAULT_UI_LOCATION=Asia/Shanghai
|
DEFAULT_UI_LOCATION=Asia/Shanghai
|
||||||
ALLOW_LOCALNETWORKS=true
|
ALLOW_LOCALNETWORKS=true
|
||||||
ENABLE_SWAGGER=false
|
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