1
0

Add PeerBanHelper

This commit is contained in:
Ghost_chu
2024-09-17 19:48:31 +08:00
parent 190ccfdf22
commit 3be388970c
9 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="peerbanhelper"
PANEL_APP_PORT_HTTP="9898"
DATA_PATH="./data"

View File

@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 9898
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@@ -0,0 +1,16 @@
services:
peerbanhelper:
image: ghostchu/peerbanhelper:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:9898"
volumes:
- "${DATA_PATH}/peerbanhelper:/app/data"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true