1
0

feat:添加vertex到列表

This commit is contained in:
okxlin
2024-01-22 23:52:57 +08:00
parent cd2d7d205e
commit 219b7cb68e
7 changed files with 185 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="vertex"
PANEL_APP_PORT_HTTP="40197"
DATA_PATH="./data"

View File

@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40197
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,21 @@
version: '3'
services:
vertex:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
volumes:
- "${DATA_PATH}:/vertex"
environment:
- TZ=Asia/Shanghai
- PORT=${PANEL_APP_PORT_HTTP}
image: lswl/vertex:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true