1
0

添加script-hub和3x-ui应用配置文件

This commit is contained in:
田国印
2024-11-29 16:21:58 +08:00
parent f24c31a939
commit 8f7a14eaf1
12 changed files with 654 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="script-hub"
PANEL_APP_PORT_HTTP="40248"
BASE_URL="https://script.xxxx.com"

View File

@@ -0,0 +1,18 @@
additionalProperties:
formFields:
- default: 40248
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: 'https://script.xxxx.com'
edit: true
envKey: BASE_URL
labelEn: Base URL
labelZh: 访问域名
required: true
type: text

View File

@@ -0,0 +1,17 @@
services:
script-hub:
image: xxooyy/script-hub:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:9100"
environment:
- BASE_URL=${BASE_URL}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true