1
0

feat:添加frp-panel到列表

This commit is contained in:
okxlin
2024-01-22 11:38:21 +08:00
parent d4148a756d
commit 4032e03711
18 changed files with 562 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
CONTAINER_NAME="frp-panel-master"
DATA_PATH="./data"
PANEL_APP_PORT_HTTP="40195"
PANEL_APP_PORT_RPC="40196"
APP_GLOBAL_SECRET="U7eF38YJXA0f5pbTKBvF"
MASTER_RPC_HOST="0.0.0.0"

View File

@@ -0,0 +1,41 @@
additionalProperties:
formFields:
- default: 40195
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port (Internal 9000)
labelZh: 端口 (对应内部 9000)
required: true
rule: paramPort
type: number
- default: 40196
edit: true
envKey: PANEL_APP_PORT_RPC
labelEn: RPC Port (Internal 9001)
labelZh: RPC 端口 (对应内部 9001)
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ''
edit: true
envKey: APP_GLOBAL_SECRET
labelEn: Secret Keys
labelZh: 通信密钥
random: true
required: true
rule: paramComplexity
type: password
- default: 0.0.0.0
edit: true
envKey: MASTER_RPC_HOST
labelEn: The IP that RPC is listening on
labelZh: RPC 监听 IP
required: true
type: text

View File

@@ -0,0 +1,22 @@
version: '3'
services:
frp-panel-master:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:9000"
- "${PANEL_APP_PORT_RPC}:9001"
volumes:
- "${DATA_PATH}:/data"
environment:
- APP_GLOBAL_SECRET=${APP_GLOBAL_SECRET}
- MASTER_RPC_HOST=${MASTER_RPC_HOST}
image: vaalacat/frp-panel:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true