fix(trilium): correctly setup data volume

This commit is contained in:
Nicolas Meienberger 2024-02-17 09:19:54 +01:00
parent ef122d217f
commit d8c5a6fdda
2 changed files with 6 additions and 9 deletions

View File

@ -5,16 +5,11 @@
"exposable": true,
"id": "trilium",
"description": "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases. ",
"tipi_version": 12,
"tipi_version": 13,
"version": "0.62.6",
"categories": [
"utilities"
],
"categories": ["utilities"],
"short_desc": "An open-source, self-hosted Notion alterative",
"author": "zadam",
"source": "https://github.com/zadam/trilium",
"supported_architectures": [
"arm64",
"amd64"
]
"supported_architectures": ["arm64", "amd64"]
}

View File

@ -4,8 +4,10 @@ services:
container_name: trilium
ports:
- ${APP_PORT}:8080
environment:
- TRILIUM_DATA_DIR=/home/node/trilium-data
volumes:
- ${APP_DATA_DIR}/home/node/trilium-data
- ${APP_DATA_DIR}/data:/home/node/trilium-data
networks:
- tipi_main_network
labels: