1
0

feat:添加vps-stock-monitor到列表

This commit is contained in:
okxlin
2024-11-14 23:47:59 +08:00
parent 48fae97d73
commit 8ba78d37fc
6 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
CONTAINER_NAME="vps-stock-monitor"
DATA_PATH="./data"
PANEL_APP_PORT_HTTP=40323
PROXY_HOST="http://flaresolverr:8191"

View File

@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: "40323"
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 Path
labelZh: 数据路径
required: true
type: text
- default: "http://flaresolverr:8191"
edit: true
envKey: PROXY_HOST
labelEn: Proxy Host
labelZh: 代理主机
required: false
type: text

View File

@@ -0,0 +1,19 @@
services:
vps-stock-monitor:
image: "vpslog/vps-stock-monitor:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:5000"
volumes:
- "${DATA_PATH}:/app/data"
environment:
- PROXY_HOST=${PROXY_HOST}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true