feat:添加iperf到列表

This commit is contained in:
okxlin 2024-06-30 23:41:42 +08:00
parent 56ce29bcec
commit 9701eee266
6 changed files with 69 additions and 0 deletions

2
apps/iperf/README.md Normal file
View File

@ -0,0 +1,2 @@
# iperf
TCP、UDP 和 SCTP 网络带宽测量工具

19
apps/iperf/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: iPerf
tags:
- 实用工具
title: 网络性能测试工具
description: 网络性能测试工具
additionalProperties:
key: iperf
name: iPerf
tags:
- Tool
shortDescZh: 网络性能测试工具
shortDescEn: Network performance testing tool
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://software.es.net/iperf/
github: https://github.com/nerdalert/iperf3
document: https://software.es.net/iperf/

View File

@ -0,0 +1,4 @@
CONTAINER_NAME="iperf"
IPERF_COMMAND="-s"
PANEL_APP_PORT_HTTP=40267
TIME_ZONE="Asia/Shanghai"

View File

@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: "40267"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
required: true
type: text
- default: "-s"
edit: true
envKey: IPERF_COMMAND
labelEn: iPerf Command
labelZh: iPerf 命令
required: true
type: text

View File

@ -0,0 +1,20 @@
services:
iperf:
image: "networkstatic/iperf3:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:5201"
environment:
- TZ=${TIME_ZONE}
command: ${IPERF_COMMAND}
stdin_open: true
tty: true
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/iperf/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB