1
0

feat:添加dweebui到列表

This commit is contained in:
okxlin
2024-08-14 01:40:07 +08:00
parent ee1c5c23de
commit b428111e84
11 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
CONTAINER_NAME="dweebui"
DATA_PATH="./data/config"
DB_PATH="./data/db.sqlite"
DOCKER_SOCK_PATH="/var/run/docker.sock"
PANEL_APP_PORT_HTTP=40285
SECRET_KEY="MrWiskers"

View File

@@ -0,0 +1,40 @@
additionalProperties:
formFields:
- default: "40285"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data/config"
disabled: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "./data/db.sqlite"
disabled: true
envKey: DB_PATH
labelEn: Database Path
labelZh: 数据库文件路径
required: true
type: text
- default: "MrWiskers"
edit: true
envKey: SECRET_KEY
labelEn: Secret Key
labelZh: 秘钥
random: true
required: true
rule: paramComplexity
type: password
- default: "/var/run/docker.sock"
edit: true
envKey: DOCKER_SOCK_PATH
labelEn: Docker Socket Path
labelZh: Docker 套接字路径
required: true
type: text

View File

View File

@@ -0,0 +1,22 @@
services:
dweebui:
image: "lllllllillllllillll/dweebui:v0.60"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
volumes:
- ${DATA_PATH}:/app/config
- ${DB_PATH}:/app/database/db.sqlite
- ${DOCKER_SOCK_PATH}:/var/run/docker.sock
environment:
- PORT=${PANEL_APP_PORT_HTTP}
- SECRET=${SECRET_KEY}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true