mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-16 01:07:11 +08:00
feat: update npc 0.33.13
This commit is contained in:
4
apps/npc/0.33.13/.env.sample
Normal file
4
apps/npc/0.33.13/.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"
|
||||
22
apps/npc/0.33.13/data.yml
Normal file
22
apps/npc/0.33.13/data.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
values:
|
||||
- label: "True"
|
||||
value: "true"
|
||||
- label: "False"
|
||||
value: "false"
|
||||
9
apps/npc/0.33.13/docker-compose.yml
Normal file
9
apps/npc/0.33.13/docker-compose.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
npc:
|
||||
image: duan2001/npc:v0.33.13
|
||||
restart: always
|
||||
network_mode: host
|
||||
command: -server=${NPS_SERVER_ADDR} -vkey=${NPS_VKEY}
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: Apps
|
||||
Reference in New Issue
Block a user