feat:添加proxy_pool到列表
This commit is contained in:
6
apps/proxy_pool/latest/.env.sample
Normal file
6
apps/proxy_pool/latest/.env.sample
Normal file
@@ -0,0 +1,6 @@
|
||||
CONTAINER_NAME="proxy_pool"
|
||||
PANEL_APP_PORT_HTTP=40264
|
||||
PANEL_REDIS_ROOT_PASSWORD="redis_password"
|
||||
REDIS_DB_NUMBER=7
|
||||
REDIS_HOST="redis"
|
||||
REDIS_PORT=6379
|
||||
40
apps/proxy_pool/latest/data.yml
Normal file
40
apps/proxy_pool/latest/data.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40264
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_HOST
|
||||
key: redis
|
||||
labelEn: Redis Host
|
||||
labelZh: Redis 主机
|
||||
required: true
|
||||
type: service
|
||||
- default: 6379
|
||||
edit: true
|
||||
envKey: REDIS_PORT
|
||||
labelEn: Redis Port
|
||||
labelZh: Redis 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PANEL_REDIS_ROOT_PASSWORD
|
||||
labelEn: Redis Password
|
||||
labelZh: Redis 密码
|
||||
required: false
|
||||
type: password
|
||||
- default: 7
|
||||
edit: true
|
||||
envKey: REDIS_DB_NUMBER
|
||||
labelEn: Redis Database Number
|
||||
labelZh: Redis 数据库编号
|
||||
required: true
|
||||
type: number
|
||||
17
apps/proxy_pool/latest/docker-compose.yml
Normal file
17
apps/proxy_pool/latest/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
proxy_pool:
|
||||
image: "jhao104/proxy_pool:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:5010"
|
||||
environment:
|
||||
- "DB_CONN=redis://:${PANEL_REDIS_ROOT_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}/${REDIS_DB_NUMBER}"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user