diff --git a/gitea/1.22.1/data.yml b/gitea/1.22.1/data.yml index 7a71d3fc7..0829f630d 100644 --- a/gitea/1.22.1/data.yml +++ b/gitea/1.22.1/data.yml @@ -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: 关闭 diff --git a/gitea/1.22.1/docker-compose.yml b/gitea/1.22.1/docker-compose.yml index e3f94216f..f57fb1e73 100644 --- a/gitea/1.22.1/docker-compose.yml +++ b/gitea/1.22.1/docker-compose.yml @@ -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}