feat:调整openspeedtest的适配

This commit is contained in:
okxlin 2023-12-22 00:45:11 +08:00
parent 846ed56022
commit 806a0241bb
8 changed files with 89 additions and 41 deletions

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="openspeedtest"
PANEL_APP_PORT_HTTP="40188"
PANEL_APP_PORT_HTTPS="40189"

View File

@ -1,18 +1,18 @@
additionalProperties:
formFields:
- default: 3000
- default: 40188
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
labelZh: HTTP 端口
required: true
rule: paramPort
type: number
- default: 3001
- default: 40189
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: HTTPS Port
labelZh: HTTPS端口
labelZh: HTTPS 端口
required: true
rule: paramPort
type: number

View File

@ -1,14 +1,14 @@
version: '3.3'
version: '3'
services:
speedtest:
image: openspeedtest/latest:v2.0.4
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3000
- ${PANEL_APP_PORT_HTTPS}:3000
- ${PANEL_APP_PORT_HTTPS}:3001
image: openspeedtest/latest:v2.0.4
labels:
createdBy: "Apps"

View File

@ -1,13 +1,20 @@
name: OpenSpeedTest
tags:
- 工具
title: 免费且免费开源 HTML5 网络性能评估工具
type: 工具
description: 免费且免费开源 HTML5 网络性能评估工具
additionalProperties:
key: openspeedtest
name: openspeedtest
name: OpenSpeedTest
tags:
- Tool
shortDescZh: SpeedTest - 免费且免费开源 HTML5 网络性能评估工具
shortDescEn: SpeedTest - Free & Open-Source HTML5 Network Performance Estimation Tool
shortDescZh: 免费且免费开源 HTML5 网络性能评估工具
shortDescEn: A Free & Open-Source HTML5 Network Performance Estimation Tool
type: tool
crossVersionUpdate: true
limit: 0
website: https://openspeedtest.com/
recommend: 0
website: https://openspeedtest.com
github: https://github.com/openspeedtest/Speed-Test
document: https://github.com/openspeedtest/Speed-Test

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="openspeedtest"
PANEL_APP_PORT_HTTP="40188"
PANEL_APP_PORT_HTTPS="40189"

View File

@ -0,0 +1,18 @@
additionalProperties:
formFields:
- default: 40188
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP 端口
required: true
rule: paramPort
type: number
- default: 40189
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: HTTPS Port
labelZh: HTTPS 端口
required: true
rule: paramPort
type: number

View File

@ -0,0 +1,17 @@
version: '3'
services:
speedtest:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3000
- ${PANEL_APP_PORT_HTTPS}:3001
image: openspeedtest/latest:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB