feat:添加dweebui到列表
This commit is contained in:
6
apps/dweebui/latest/.env.sample
Normal file
6
apps/dweebui/latest/.env.sample
Normal 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"
|
||||
40
apps/dweebui/latest/data.yml
Normal file
40
apps/dweebui/latest/data.yml
Normal 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
|
||||
0
apps/dweebui/latest/data/db.sqlite
Normal file
0
apps/dweebui/latest/data/db.sqlite
Normal file
22
apps/dweebui/latest/docker-compose.yml
Normal file
22
apps/dweebui/latest/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
dweebui:
|
||||
image: "lllllllillllllillll/dweebui:latest"
|
||||
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
|
||||
Reference in New Issue
Block a user