add openspeedtest

This commit is contained in:
Anyexyz 2023-12-21 07:52:56 +00:00
parent 9ffc29702d
commit 283e5c3acf
5 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,18 @@
additionalProperties:
formFields:
- default: 3000
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: 3001
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.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
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,15 @@
# **[SpeedTest by OpenSpeedTest™](https://openspeedtest.com?Run&ref=Github)** - 免费且开源的HTML5网络性能估算工具。
> OpenSpeedTest™是一个免费且开源的HTML5网络性能估算工具使用纯粹的JavaScript编写只使用内置的Web API`XMLHttpRequest` `(XHR)`, `HTML`, `CSS`, `JS`, 和 `SVG`. 。无需第三方框架或库。只需要一个静态Web服务器`NGINX`。本项目启动于2011年并于2013年迁移到OpenSpeedTest.com专用项目/域名。
## 主要功能
提供开箱即用的网络性能估算工具,无需任何配置即可使用。
## 使用
为了提供更易用的体验,本应用只提供了最基础的功能,如需更多功能请参考[文档](https://github.com/openspeedtest/Speed-Test) `编辑 compose 文件` 实现。
### 端口开放
默认端口为 HTTP/3000HTTPS/3001
### HTTPS
若需要启用 HTTPS建议搭配 `OpenResty` 反向代理使用,同时请参考 [openspeedtest/Nginx-Configuration](https://github.com/openspeedtest/Nginx-Configuration) 修改配置文件。

View File

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

BIN
apps/openspeedtest/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB