mirror of
https://gitlink.org.cn/pooneyy/1Panel-Appstore.git
synced 2026-04-24 10:41:42 +08:00
feat:添加npc到列表
This commit is contained in:
parent
c5052b2d9c
commit
2169f5431b
4
apps/npc/0.26.18/.env.sample
Normal file
4
apps/npc/0.26.18/.env.sample
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
CONTAINER_NAME="npc"
|
||||||
|
NPS_SERVER_ADDR="1.2.3.4:8025"
|
||||||
|
NPS_VKEY="xly7traGe3r0t6UWltristuh1"
|
||||||
|
TLS_ENABLE_SWITCH="true"
|
||||||
28
apps/npc/0.26.18/data.yml
Normal file
28
apps/npc/0.26.18/data.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 1.2.3.4:8025
|
||||||
|
edit: true
|
||||||
|
envKey: NPS_SERVER_ADDR
|
||||||
|
labelEn: NPS server address
|
||||||
|
labelZh: NPS 服务端地址
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "xly7traGe3r0t6UWltristuh1"
|
||||||
|
edit: true
|
||||||
|
envKey: NPS_VKEY
|
||||||
|
labelEn: Client connection key displayed by the server
|
||||||
|
labelZh: 服务端显示的客户端连接密钥
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: "true"
|
||||||
|
envKey: TLS_ENABLE_SWITCH
|
||||||
|
labelEn: Whether TLS is enabled for server-client communication
|
||||||
|
labelZh: 服务端与客户端的通信是否启用 TLS
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: "True"
|
||||||
|
value: "true"
|
||||||
|
- label: "False"
|
||||||
|
value: "false"
|
||||||
10
apps/npc/0.26.18/docker-compose.yml
Normal file
10
apps/npc/0.26.18/docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
npc:
|
||||||
|
image: yisier1/npc:v0.26.18
|
||||||
|
restart: always
|
||||||
|
network_mode: "host"
|
||||||
|
command: -server=${NPS_SERVER_ADDR} -vkey=${NPS_VKEY} -tls_enable=${TLS_ENABLE_SWITCH}
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
10
apps/npc/README.md
Normal file
10
apps/npc/README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# NPS
|
||||||
|
|
||||||
|
[README](https://github.com/ehang-io/nps/blob/master/README.md)|[中文文档](https://github.com/ehang-io/nps/blob/master/README_zh.md)
|
||||||
|
|
||||||
|
# 说明
|
||||||
|
由于nps已经有二年多的时间没有更新了,存留了不少bug和未完善的功能。
|
||||||
|
|
||||||
|
此版本基于 nps 0.26.10的基础上二次开发而来。
|
||||||
|
|
||||||
|
***DockerHub***: [NPS](https://hub.docker.com/r/yisier1/nps) [NPC](https://hub.docker.com/r/yisier1/npc)
|
||||||
20
apps/npc/data.yml
Normal file
20
apps/npc/data.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: NPC
|
||||||
|
tags:
|
||||||
|
- 工具
|
||||||
|
title: 内网穿透代理服务器 NPS 的客户端
|
||||||
|
type: 工具
|
||||||
|
description: 内网穿透代理服务器 NPS 的客户端
|
||||||
|
additionalProperties:
|
||||||
|
key: npc
|
||||||
|
name: NPC
|
||||||
|
tags:
|
||||||
|
- Tool
|
||||||
|
shortDescZh: 内网穿透代理服务器 NPS 的客户端
|
||||||
|
shortDescEn: Intranet Penetrating Proxy Server NPS Client
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 1
|
||||||
|
recommend: 0
|
||||||
|
website: https://ehang-io.github.io/nps
|
||||||
|
github: https://github.com/yisier/nps
|
||||||
|
document: https://ehang-io.github.io/nps
|
||||||
4
apps/npc/latest/.env.sample
Normal file
4
apps/npc/latest/.env.sample
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
CONTAINER_NAME="npc"
|
||||||
|
NPS_SERVER_ADDR="1.2.3.4:8025"
|
||||||
|
NPS_VKEY="xly7traGe3r0t6UWltristuh1"
|
||||||
|
TLS_ENABLE_SWITCH="true"
|
||||||
28
apps/npc/latest/data.yml
Normal file
28
apps/npc/latest/data.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 1.2.3.4:8025
|
||||||
|
edit: true
|
||||||
|
envKey: NPS_SERVER_ADDR
|
||||||
|
labelEn: NPS server address
|
||||||
|
labelZh: NPS 服务端地址
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "xly7traGe3r0t6UWltristuh1"
|
||||||
|
edit: true
|
||||||
|
envKey: NPS_VKEY
|
||||||
|
labelEn: Client connection key displayed by the server
|
||||||
|
labelZh: 服务端显示的客户端连接密钥
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: "true"
|
||||||
|
envKey: TLS_ENABLE_SWITCH
|
||||||
|
labelEn: Whether TLS is enabled for server-client communication
|
||||||
|
labelZh: 服务端与客户端的通信是否启用 TLS
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: "True"
|
||||||
|
value: "true"
|
||||||
|
- label: "False"
|
||||||
|
value: "false"
|
||||||
10
apps/npc/latest/docker-compose.yml
Normal file
10
apps/npc/latest/docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
npc:
|
||||||
|
image: yisier1/npc:latest
|
||||||
|
restart: always
|
||||||
|
network_mode: "host"
|
||||||
|
command: -server=${NPS_SERVER_ADDR} -vkey=${NPS_VKEY} -tls_enable=${TLS_ENABLE_SWITCH}
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
BIN
apps/npc/logo.png
Normal file
BIN
apps/npc/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
Loading…
Reference in New Issue
Block a user