mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-27 13:27:43 +08:00
feat:更新Woodpecker
This commit is contained in:
parent
c5005359ec
commit
3f122d516e
@ -1,9 +1,21 @@
|
||||
CONTAINER_NAME="woodpecker"
|
||||
DATA_PATH="./data"
|
||||
PANEL_APP_PORT_HTTP="40122"
|
||||
REGISTER_SWITCH="false"
|
||||
WOODPECKER_AGENT_SECRET=""
|
||||
DATA_PATH="./data"
|
||||
WOODPECKER_HOST="http://ci.example.com"
|
||||
GITEA_ENABLE_SWITCH="false"
|
||||
GITHUB_ENABLE_SWITCH="true"
|
||||
GITLAB_ENABLE_SWITCH="false"
|
||||
BITBUCKET_ENABLE_SWITCH="false"
|
||||
WOODPECKER_BITBUCKET_CLIENT=""
|
||||
WOODPECKER_BITBUCKET_SECRET=""
|
||||
WOODPECKER_GITEA_CLIENT=""
|
||||
WOODPECKER_GITEA_SECRET=""
|
||||
WOODPECKER_GITEA_URL="https://try.gitea.io"
|
||||
WOODPECKER_GITHUB_CLIENT=""
|
||||
WOODPECKER_GITHUB_SECRET=""
|
||||
WOODPECKER_GITHUB_URL="https://github.com"
|
||||
WOODPECKER_HOST="http://ci.example.com"
|
||||
WOODPECKER_GITLAB_CLIENT=""
|
||||
WOODPECKER_GITLAB_SECRET=""
|
||||
WOODPECKER_GITLAB_URL="https://gitlab.com"
|
||||
|
||||
@ -3,8 +3,8 @@ additionalProperties:
|
||||
- default: 40122
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP端口
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@ -29,31 +29,115 @@ additionalProperties:
|
||||
labelZh: 外部访问地址
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_AGENT_SECRET
|
||||
labelEn: Github Agent Secret Vaule
|
||||
labelZh: Github Agent Secret 值
|
||||
required: true
|
||||
type: text
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: GITHUB_ENABLE_SWITCH
|
||||
labelEn: Enable Github (true or false)
|
||||
labelZh: 启用Github(true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://github.com
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_URL
|
||||
labelEn: Github URL
|
||||
labelZh: Github地址
|
||||
required: true
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_CLIENT
|
||||
labelEn: CLIENT Vaule
|
||||
labelZh: CLIENT 值
|
||||
required: true
|
||||
labelEn: Github CLIENT Vaule
|
||||
labelZh: Github CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_SECRET
|
||||
labelEn: SECRET Vaule
|
||||
labelZh: SECRET 值
|
||||
labelEn: Github SECRET Vaule
|
||||
labelZh: Github SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: GITEA_ENABLE_SWITCH
|
||||
labelEn: Enable Gitea (true or false)
|
||||
labelZh: 启用Gitea(true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://try.gitea.io
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_URL
|
||||
labelEn: Gitea URL
|
||||
labelZh: Gitea地址
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_CLIENT
|
||||
labelEn: Gitea CLIENT Vaule
|
||||
labelZh: Gitea CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_SECRET
|
||||
labelEn: Gitea SECRET Vaule
|
||||
labelZh: Gitea SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: GITLAB_ENABLE_SWITCH
|
||||
labelEn: Enable GitLab (true or false)
|
||||
labelZh: 启用GitLab (true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://gitlab.com
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_URL
|
||||
labelEn: GitLab URL
|
||||
labelZh: GitLab 地址
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_CLIENT
|
||||
labelEn: GitLab CLIENT Vaule
|
||||
labelZh: GitLab CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_SECRET
|
||||
labelEn: GitLab SECRET Vaule
|
||||
labelZh: GitLab SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: BITBUCKET_ENABLE_SWITCH
|
||||
labelEn: Enable Bitbucket (true or false)
|
||||
labelZh: 启用 Bitbucket (true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_AGENT_SECRET
|
||||
labelEn: Agent Secret Vaule
|
||||
labelZh: Agent Secret 值
|
||||
required: true
|
||||
envKey: WOODPECKER_BITBUCKET_CLIENT
|
||||
labelEn: Bitbucket CLIENT Value
|
||||
labelZh: Bitbucket CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_BITBUCKET_SECRET
|
||||
labelEn: Bitbucket SECRET Value
|
||||
labelZh: Bitbucket SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
|
||||
@ -12,28 +12,28 @@ services:
|
||||
environment:
|
||||
- WOODPECKER_OPEN=${REGISTER_SWITCH}
|
||||
- WOODPECKER_HOST=${WOODPECKER_HOST}
|
||||
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||
# GitHub
|
||||
- WOODPECKER_GITHUB=true
|
||||
- WOODPECKER_GITHUB=${GITHUB_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITHUB_URL=${WOODPECKER_GITHUB_URL}
|
||||
- WOODPECKER_GITHUB_CLIENT=${WOODPECKER_GITHUB_CLIENT}
|
||||
- WOODPECKER_GITHUB_SECRET=${WOODPECKER_GITHUB_SECRET}
|
||||
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||
# Gitea / Forgejo
|
||||
#- WOODPECKER_GITEA=false
|
||||
#- WOODPECKER_GITEA_URL=https://try.gitea.io
|
||||
#- WOODPECKER_GITEA_CLIENT=
|
||||
#- WOODPECKER_GITEA_SECRET=
|
||||
#- WOODPECKER_GITEA_SKIP_VERIFY=false
|
||||
- WOODPECKER_GITEA=${GITEA_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITEA_URL=${WOODPECKER_GITEA_URL}
|
||||
- WOODPECKER_GITEA_CLIENT=${WOODPECKER_GITEA_CLIENT}
|
||||
- WOODPECKER_GITEA_SECRET=${WOODPECKER_GITEA_SECRET}
|
||||
- WOODPECKER_GITEA_SKIP_VERIFY=true
|
||||
# GitLab
|
||||
#- WOODPECKER_GITLAB=false
|
||||
#- WOODPECKER_GITLAB_URL=https://gitlab.com
|
||||
#- WOODPECKER_GITLAB_CLIENT=
|
||||
#- WOODPECKER_GITLAB_SECRET=
|
||||
#- WOODPECKER_GITLAB_SKIP_VERIFY=false
|
||||
- WOODPECKER_GITLAB=${GITLAB_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITLAB_URL=${WOODPECKER_GITLAB_URL}
|
||||
- WOODPECKER_GITLAB_CLIENT=${WOODPECKER_GITLAB_CLIENT}
|
||||
- WOODPECKER_GITLAB_SECRET=${WOODPECKER_GITLAB_SECRET}
|
||||
- WOODPECKER_GITLAB_SKIP_VERIFY=true
|
||||
# Bitbucket
|
||||
#- WOODPECKER_BITBUCKET=false
|
||||
#- WOODPECKER_BITBUCKET_CLIENT=
|
||||
#- WOODPECKER_BITBUCKET_SECRET=
|
||||
- WOODPECKER_BITBUCKET=${BITBUCKET_ENABLE_SWITCH}
|
||||
- WOODPECKER_BITBUCKET_CLIENT=${WOODPECKER_BITBUCKET_CLIENT}
|
||||
- WOODPECKER_BITBUCKET_SECRET=${WOODPECKER_BITBUCKET_SECRET}
|
||||
#
|
||||
#- WOODPECKER_GRPC_ADDR=:9000
|
||||
#- WOODPECKER_SERVER_ADDR=
|
||||
@ -46,7 +46,7 @@ services:
|
||||
# Postgres
|
||||
#- WOODPECKER_DATABASE_DRIVER=postgres
|
||||
#- WOODPECKER_DATABASE_DATASOURCE=postgres://root:password@1.2.3.4:5432/postgres?sslmode=disable
|
||||
image: woodpeckerci/woodpecker-server:v1.0.2
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
@ -64,7 +64,7 @@ services:
|
||||
environment:
|
||||
- WOODPECKER_SERVER=woodpecker-server:9000
|
||||
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||
image: woodpeckerci/woodpecker-agent:v1.0.2
|
||||
image: woodpeckerci/woodpecker-server:v1.0.2
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ additionalProperties:
|
||||
shortDescEn: A simple CI engine with great extensibility
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
limit: 1
|
||||
recommend: 0
|
||||
website: https://woodpecker-ci.org
|
||||
github: https://github.com/woodpecker-ci/woodpecker
|
||||
|
||||
@ -1,9 +1,21 @@
|
||||
CONTAINER_NAME="woodpecker"
|
||||
DATA_PATH="./data"
|
||||
PANEL_APP_PORT_HTTP="40122"
|
||||
REGISTER_SWITCH="false"
|
||||
WOODPECKER_AGENT_SECRET=""
|
||||
DATA_PATH="./data"
|
||||
WOODPECKER_HOST="http://ci.example.com"
|
||||
GITEA_ENABLE_SWITCH="false"
|
||||
GITHUB_ENABLE_SWITCH="true"
|
||||
GITLAB_ENABLE_SWITCH="false"
|
||||
BITBUCKET_ENABLE_SWITCH="false"
|
||||
WOODPECKER_BITBUCKET_CLIENT=""
|
||||
WOODPECKER_BITBUCKET_SECRET=""
|
||||
WOODPECKER_GITEA_CLIENT=""
|
||||
WOODPECKER_GITEA_SECRET=""
|
||||
WOODPECKER_GITEA_URL="https://try.gitea.io"
|
||||
WOODPECKER_GITHUB_CLIENT=""
|
||||
WOODPECKER_GITHUB_SECRET=""
|
||||
WOODPECKER_GITHUB_URL="https://github.com"
|
||||
WOODPECKER_HOST="http://ci.example.com"
|
||||
WOODPECKER_GITLAB_CLIENT=""
|
||||
WOODPECKER_GITLAB_SECRET=""
|
||||
WOODPECKER_GITLAB_URL="https://gitlab.com"
|
||||
|
||||
@ -3,8 +3,8 @@ additionalProperties:
|
||||
- default: 40122
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP端口
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@ -29,31 +29,115 @@ additionalProperties:
|
||||
labelZh: 外部访问地址
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_AGENT_SECRET
|
||||
labelEn: Github Agent Secret Vaule
|
||||
labelZh: Github Agent Secret 值
|
||||
required: true
|
||||
type: text
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: GITHUB_ENABLE_SWITCH
|
||||
labelEn: Enable Github (true or false)
|
||||
labelZh: 启用Github(true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://github.com
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_URL
|
||||
labelEn: Github URL
|
||||
labelZh: Github地址
|
||||
required: true
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_CLIENT
|
||||
labelEn: CLIENT Vaule
|
||||
labelZh: CLIENT 值
|
||||
required: true
|
||||
labelEn: Github CLIENT Vaule
|
||||
labelZh: Github CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_SECRET
|
||||
labelEn: SECRET Vaule
|
||||
labelZh: SECRET 值
|
||||
labelEn: Github SECRET Vaule
|
||||
labelZh: Github SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: GITEA_ENABLE_SWITCH
|
||||
labelEn: Enable Gitea (true or false)
|
||||
labelZh: 启用Gitea(true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://try.gitea.io
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_URL
|
||||
labelEn: Gitea URL
|
||||
labelZh: Gitea地址
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_CLIENT
|
||||
labelEn: Gitea CLIENT Vaule
|
||||
labelZh: Gitea CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_SECRET
|
||||
labelEn: Gitea SECRET Vaule
|
||||
labelZh: Gitea SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: GITLAB_ENABLE_SWITCH
|
||||
labelEn: Enable GitLab (true or false)
|
||||
labelZh: 启用GitLab (true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://gitlab.com
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_URL
|
||||
labelEn: GitLab URL
|
||||
labelZh: GitLab 地址
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_CLIENT
|
||||
labelEn: GitLab CLIENT Vaule
|
||||
labelZh: GitLab CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_SECRET
|
||||
labelEn: GitLab SECRET Vaule
|
||||
labelZh: GitLab SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: BITBUCKET_ENABLE_SWITCH
|
||||
labelEn: Enable Bitbucket (true or false)
|
||||
labelZh: 启用 Bitbucket (true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_AGENT_SECRET
|
||||
labelEn: Agent Secret Vaule
|
||||
labelZh: Agent Secret 值
|
||||
required: true
|
||||
envKey: WOODPECKER_BITBUCKET_CLIENT
|
||||
labelEn: Bitbucket CLIENT Value
|
||||
labelZh: Bitbucket CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_BITBUCKET_SECRET
|
||||
labelEn: Bitbucket SECRET Value
|
||||
labelZh: Bitbucket SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
|
||||
@ -12,28 +12,28 @@ services:
|
||||
environment:
|
||||
- WOODPECKER_OPEN=${REGISTER_SWITCH}
|
||||
- WOODPECKER_HOST=${WOODPECKER_HOST}
|
||||
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||
# GitHub
|
||||
- WOODPECKER_GITHUB=true
|
||||
- WOODPECKER_GITHUB=${GITHUB_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITHUB_URL=${WOODPECKER_GITHUB_URL}
|
||||
- WOODPECKER_GITHUB_CLIENT=${WOODPECKER_GITHUB_CLIENT}
|
||||
- WOODPECKER_GITHUB_SECRET=${WOODPECKER_GITHUB_SECRET}
|
||||
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||
# Gitea / Forgejo
|
||||
#- WOODPECKER_GITEA=false
|
||||
#- WOODPECKER_GITEA_URL=https://try.gitea.io
|
||||
#- WOODPECKER_GITEA_CLIENT=
|
||||
#- WOODPECKER_GITEA_SECRET=
|
||||
#- WOODPECKER_GITEA_SKIP_VERIFY=false
|
||||
- WOODPECKER_GITEA=${GITEA_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITEA_URL=${WOODPECKER_GITEA_URL}
|
||||
- WOODPECKER_GITEA_CLIENT=${WOODPECKER_GITEA_CLIENT}
|
||||
- WOODPECKER_GITEA_SECRET=${WOODPECKER_GITEA_SECRET}
|
||||
- WOODPECKER_GITEA_SKIP_VERIFY=true
|
||||
# GitLab
|
||||
#- WOODPECKER_GITLAB=false
|
||||
#- WOODPECKER_GITLAB_URL=https://gitlab.com
|
||||
#- WOODPECKER_GITLAB_CLIENT=
|
||||
#- WOODPECKER_GITLAB_SECRET=
|
||||
#- WOODPECKER_GITLAB_SKIP_VERIFY=false
|
||||
- WOODPECKER_GITLAB=${GITLAB_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITLAB_URL=${WOODPECKER_GITLAB_URL}
|
||||
- WOODPECKER_GITLAB_CLIENT=${WOODPECKER_GITLAB_CLIENT}
|
||||
- WOODPECKER_GITLAB_SECRET=${WOODPECKER_GITLAB_SECRET}
|
||||
- WOODPECKER_GITLAB_SKIP_VERIFY=true
|
||||
# Bitbucket
|
||||
#- WOODPECKER_BITBUCKET=false
|
||||
#- WOODPECKER_BITBUCKET_CLIENT=
|
||||
#- WOODPECKER_BITBUCKET_SECRET=
|
||||
- WOODPECKER_BITBUCKET=${BITBUCKET_ENABLE_SWITCH}
|
||||
- WOODPECKER_BITBUCKET_CLIENT=${WOODPECKER_BITBUCKET_CLIENT}
|
||||
- WOODPECKER_BITBUCKET_SECRET=${WOODPECKER_BITBUCKET_SECRET}
|
||||
#
|
||||
#- WOODPECKER_GRPC_ADDR=:9000
|
||||
#- WOODPECKER_SERVER_ADDR=
|
||||
|
||||
@ -1,12 +1,24 @@
|
||||
CONTAINER_NAME="woodpecker"
|
||||
DATA_PATH="./data"
|
||||
PANEL_APP_PORT_HTTP="40122"
|
||||
REGISTER_SWITCH="false"
|
||||
WOODPECKER_AGENT_SECRET=""
|
||||
DATA_PATH="./data"
|
||||
WOODPECKER_HOST="http://ci.example.com"
|
||||
GITEA_ENABLE_SWITCH="false"
|
||||
GITHUB_ENABLE_SWITCH="true"
|
||||
GITLAB_ENABLE_SWITCH="false"
|
||||
BITBUCKET_ENABLE_SWITCH="false"
|
||||
WOODPECKER_BITBUCKET_CLIENT=""
|
||||
WOODPECKER_BITBUCKET_SECRET=""
|
||||
WOODPECKER_GITEA_CLIENT=""
|
||||
WOODPECKER_GITEA_SECRET=""
|
||||
WOODPECKER_GITEA_URL="https://try.gitea.io"
|
||||
WOODPECKER_GITHUB_CLIENT=""
|
||||
WOODPECKER_GITHUB_SECRET=""
|
||||
WOODPECKER_GITHUB_URL="https://github.com"
|
||||
WOODPECKER_HOST="http://ci.example.com"
|
||||
WOODPECKER_GITLAB_CLIENT=""
|
||||
WOODPECKER_GITLAB_SECRET=""
|
||||
WOODPECKER_GITLAB_URL="https://gitlab.com"
|
||||
PANEL_DB_HOST="127.0.0.1"
|
||||
WOODPECKER_DB_PORT="3306"
|
||||
PANEL_DB_NAME="woodpecker"
|
||||
|
||||
@ -15,10 +15,10 @@ additionalProperties:
|
||||
key: mysql
|
||||
type: param
|
||||
value: "3306"
|
||||
- envKey: WOODPECKER_DB_PORT
|
||||
key: postgresql
|
||||
type: param
|
||||
value: "5432"
|
||||
#- envKey: WOODPECKER_DB_PORT
|
||||
# key: postgresql
|
||||
# type: param
|
||||
# value: "5432"
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
@ -51,8 +51,8 @@ additionalProperties:
|
||||
- default: 40122
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP端口
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@ -77,31 +77,115 @@ additionalProperties:
|
||||
labelZh: 外部访问地址
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_AGENT_SECRET
|
||||
labelEn: Github Agent Secret Vaule
|
||||
labelZh: Github Agent Secret 值
|
||||
required: true
|
||||
type: text
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: GITHUB_ENABLE_SWITCH
|
||||
labelEn: Enable Github (true or false)
|
||||
labelZh: 启用Github(true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://github.com
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_URL
|
||||
labelEn: Github URL
|
||||
labelZh: Github地址
|
||||
required: true
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_CLIENT
|
||||
labelEn: CLIENT Vaule
|
||||
labelZh: CLIENT 值
|
||||
required: true
|
||||
labelEn: Github CLIENT Vaule
|
||||
labelZh: Github CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITHUB_SECRET
|
||||
labelEn: SECRET Vaule
|
||||
labelZh: SECRET 值
|
||||
labelEn: Github SECRET Vaule
|
||||
labelZh: Github SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: GITEA_ENABLE_SWITCH
|
||||
labelEn: Enable Gitea (true or false)
|
||||
labelZh: 启用Gitea(true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://try.gitea.io
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_URL
|
||||
labelEn: Gitea URL
|
||||
labelZh: Gitea地址
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_CLIENT
|
||||
labelEn: Gitea CLIENT Vaule
|
||||
labelZh: Gitea CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITEA_SECRET
|
||||
labelEn: Gitea SECRET Vaule
|
||||
labelZh: Gitea SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: GITLAB_ENABLE_SWITCH
|
||||
labelEn: Enable GitLab (true or false)
|
||||
labelZh: 启用GitLab (true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: https://gitlab.com
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_URL
|
||||
labelEn: GitLab URL
|
||||
labelZh: GitLab 地址
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_CLIENT
|
||||
labelEn: GitLab CLIENT Vaule
|
||||
labelZh: GitLab CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_GITLAB_SECRET
|
||||
labelEn: GitLab SECRET Vaule
|
||||
labelZh: GitLab SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: BITBUCKET_ENABLE_SWITCH
|
||||
labelEn: Enable Bitbucket (true or false)
|
||||
labelZh: 启用 Bitbucket (true/false)
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_AGENT_SECRET
|
||||
labelEn: Agent Secret Vaule
|
||||
labelZh: Agent Secret 值
|
||||
required: true
|
||||
envKey: WOODPECKER_BITBUCKET_CLIENT
|
||||
labelEn: Bitbucket CLIENT Value
|
||||
labelZh: Bitbucket CLIENT 值
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: WOODPECKER_BITBUCKET_SECRET
|
||||
labelEn: Bitbucket SECRET Value
|
||||
labelZh: Bitbucket SECRET 值
|
||||
required: false
|
||||
type: text
|
||||
|
||||
@ -12,33 +12,28 @@ services:
|
||||
environment:
|
||||
- WOODPECKER_OPEN=${REGISTER_SWITCH}
|
||||
- WOODPECKER_HOST=${WOODPECKER_HOST}
|
||||
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||
# GitHub
|
||||
- WOODPECKER_GITHUB=true
|
||||
- WOODPECKER_GITHUB=${GITHUB_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITHUB_URL=${WOODPECKER_GITHUB_URL}
|
||||
- WOODPECKER_GITHUB_CLIENT=${WOODPECKER_GITHUB_CLIENT}
|
||||
- WOODPECKER_GITHUB_SECRET=${WOODPECKER_GITHUB_SECRET}
|
||||
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||
# Gitea / Forgejo
|
||||
#- WOODPECKER_GITEA=false
|
||||
#- WOODPECKER_GITEA_URL=https://try.gitea.io
|
||||
#- WOODPECKER_GITEA_CLIENT=
|
||||
#- WOODPECKER_GITEA_SECRET=
|
||||
#- WOODPECKER_GITEA_SKIP_VERIFY=false
|
||||
- WOODPECKER_GITEA=${GITEA_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITEA_URL=${WOODPECKER_GITEA_URL}
|
||||
- WOODPECKER_GITEA_CLIENT=${WOODPECKER_GITEA_CLIENT}
|
||||
- WOODPECKER_GITEA_SECRET=${WOODPECKER_GITEA_SECRET}
|
||||
- WOODPECKER_GITEA_SKIP_VERIFY=true
|
||||
# GitLab
|
||||
#- WOODPECKER_GITLAB=false
|
||||
#- WOODPECKER_GITLAB_URL=https://gitlab.com
|
||||
#- WOODPECKER_GITLAB_CLIENT=
|
||||
#- WOODPECKER_GITLAB_SECRET=
|
||||
#- WOODPECKER_GITLAB_SKIP_VERIFY=false
|
||||
- WOODPECKER_GITLAB=${GITLAB_ENABLE_SWITCH}
|
||||
- WOODPECKER_GITLAB_URL=${WOODPECKER_GITLAB_URL}
|
||||
- WOODPECKER_GITLAB_CLIENT=${WOODPECKER_GITLAB_CLIENT}
|
||||
- WOODPECKER_GITLAB_SECRET=${WOODPECKER_GITLAB_SECRET}
|
||||
- WOODPECKER_GITLAB_SKIP_VERIFY=true
|
||||
# Bitbucket
|
||||
#- WOODPECKER_BITBUCKET=false
|
||||
#- WOODPECKER_BITBUCKET_CLIENT=
|
||||
#- WOODPECKER_BITBUCKET_SECRET=
|
||||
#
|
||||
#- WOODPECKER_GRPC_ADDR=:9000
|
||||
#- WOODPECKER_SERVER_ADDR=
|
||||
#- WOODPECKER_GRPC_SECURE=true # defaults to false
|
||||
#- WOODPECKER_GRPC_VERIFY=true # default
|
||||
- WOODPECKER_BITBUCKET=${BITBUCKET_ENABLE_SWITCH}
|
||||
- WOODPECKER_BITBUCKET_CLIENT=${WOODPECKER_BITBUCKET_CLIENT}
|
||||
- WOODPECKER_BITBUCKET_SECRET=${WOODPECKER_BITBUCKET_SECRET}
|
||||
#
|
||||
# MySQL
|
||||
- WOODPECKER_DATABASE_DRIVER=mysql
|
||||
|
||||
Loading…
Reference in New Issue
Block a user