1
0

feat:添加trilium到列表#318

This commit is contained in:
okxlin
2023-11-17 00:50:15 +08:00
parent 9c5dee85c6
commit 2cba50236b
9 changed files with 175 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="trilium"
PANEL_APP_PORT_HTTP="40172"
DATA_PATH="./data"

View File

@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40172
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,19 @@
version: '3'
services:
trilium:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- "${DATA_PATH}:/home/node/trilium-data"
tty: true
image: zadam/trilium:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true