feat:添加npc到列表

This commit is contained in:
okxlin 2024-04-01 16:32:49 +08:00
parent 631a7e4d5d
commit 9c250c0226
9 changed files with 114 additions and 0 deletions

View 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
View 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"

View 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
View 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
View 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

View 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
View 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"

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB