feat(apifox-runner): update to version 2.2.3
- update docker image tag from 2.1.0 to 2.2.3 in the version-specific compose file - remove the deprecated 'latest' version directory and its configuration files
This commit is contained in:
parent
6fe2382bfb
commit
4ad82974ad
|
|
@ -4,7 +4,7 @@ networks:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
apifox-runner:
|
apifox-runner:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/apifox/self-hosted-general-runner:2.1.0
|
image: registry.cn-hangzhou.aliyuncs.com/apifox/self-hosted-general-runner:2.2.3
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
@ -1,66 +0,0 @@
|
||||||
additionalProperties:
|
|
||||||
formFields:
|
|
||||||
- default: "./data"
|
|
||||||
edit: true
|
|
||||||
envKey: APIFOX_RUNNER_ROOT_PATH
|
|
||||||
labelZh: 数据持久化路径
|
|
||||||
labelEn: Data persistence path
|
|
||||||
label:
|
|
||||||
en: Data persistence path
|
|
||||||
zh: 数据持久化路径
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: 4524
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_HTTP
|
|
||||||
labelZh: WebUI 端口
|
|
||||||
labelEn: WebUI port
|
|
||||||
label:
|
|
||||||
en: WebUI port
|
|
||||||
zh: WebUI 端口
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
- default: "https://api.apifox.cn"
|
|
||||||
edit: true
|
|
||||||
envKey: SERVER_APP_BASE_URL
|
|
||||||
labelZh: 参数 SERVER_APP_BASE_URL
|
|
||||||
labelEn: Parameter SERVER_APP_BASE_URL
|
|
||||||
label:
|
|
||||||
en: Parameter SERVER_APP_BASE_URL
|
|
||||||
zh: 参数 SERVER_APP_BASE_URL
|
|
||||||
description:
|
|
||||||
en: Fill in the parameters provided by the website; all remaining parameters follow the same rule.
|
|
||||||
zh: 填入网站给出的参数,余下参数皆如此
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: ""
|
|
||||||
edit: true
|
|
||||||
envKey: ACCESS_TOKEN
|
|
||||||
labelZh: 参数 ACCESS_TOKEN
|
|
||||||
labelEn: Parameter ACCESS_TOKEN
|
|
||||||
label:
|
|
||||||
en: Parameter ACCESS_TOKEN
|
|
||||||
zh: 参数 ACCESS_TOKEN
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: 0
|
|
||||||
edit: true
|
|
||||||
envKey: TEAM_ID
|
|
||||||
labelZh: 参数 TEAM_ID
|
|
||||||
labelEn: Parameter TEAM_ID
|
|
||||||
label:
|
|
||||||
en: Parameter TEAM_ID
|
|
||||||
zh: 参数 TEAM_ID
|
|
||||||
required: true
|
|
||||||
type: number
|
|
||||||
- default: 0
|
|
||||||
edit: true
|
|
||||||
envKey: RUNNER_ID
|
|
||||||
labelZh: 参数 RUNNER_ID
|
|
||||||
labelEn: Parameter RUNNER_ID
|
|
||||||
label:
|
|
||||||
en: Parameter RUNNER_ID
|
|
||||||
zh: 参数 RUNNER_ID
|
|
||||||
required: true
|
|
||||||
type: number
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
networks:
|
|
||||||
1panel-network:
|
|
||||||
external: true
|
|
||||||
|
|
||||||
services:
|
|
||||||
apifox-runner:
|
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/apifox/self-hosted-general-runner:1.9.0
|
|
||||||
pull_policy: always
|
|
||||||
container_name: ${CONTAINER_NAME}
|
|
||||||
labels:
|
|
||||||
createdBy: "Apps"
|
|
||||||
restart: always
|
|
||||||
networks:
|
|
||||||
- 1panel-network
|
|
||||||
ports:
|
|
||||||
- ${PANEL_APP_PORT_HTTP}:4524
|
|
||||||
volumes:
|
|
||||||
- ${APIFOX_RUNNER_ROOT_PATH}/runner:/opt/runner
|
|
||||||
environment:
|
|
||||||
- TZ=Asia/Shanghai
|
|
||||||
- SERVER_APP_BASE_URL=${SERVER_APP_BASE_URL}
|
|
||||||
- TEAM_ID=${TEAM_ID}
|
|
||||||
- RUNNER_ID=${RUNNER_ID}
|
|
||||||
- ACCESS_TOKEN=${ACCESS_TOKEN}
|
|
||||||
Loading…
Reference in New Issue