From 04f39e04386a7abfb8354d7d981a9246a101e3ac Mon Sep 17 00:00:00 2001 From: xiaochou164 Date: Wed, 14 May 2025 20:18:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0trilium-cn=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=8F=8A=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trilium-cn.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 trilium-cn.yml diff --git a/trilium-cn.yml b/trilium-cn.yml new file mode 100644 index 0000000..04a3ad0 --- /dev/null +++ b/trilium-cn.yml @@ -0,0 +1,20 @@ +version: '3.8' + +services: + trilium: + image: nriver/trilium-cn:latest + ports: + - 8080 + networks: + - dokploy-network + restart: always + volumes: + - /app/notebook:/home/node/trilium-data/backup + environment: + # 环境变量表示容器内笔记数据的存储路径 + - TRILIUM_DATA_DIR=/root/trilium-data + +networks: + dokploy-network: + external: true +