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, "exposable": true,
"id": "trilium", "id": "trilium",
"description": "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases. ", "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", "version": "0.62.6",
"categories": [ "categories": ["utilities"],
"utilities"
],
"short_desc": "An open-source, self-hosted Notion alterative", "short_desc": "An open-source, self-hosted Notion alterative",
"author": "zadam", "author": "zadam",
"source": "https://github.com/zadam/trilium", "source": "https://github.com/zadam/trilium",
"supported_architectures": [ "supported_architectures": ["arm64", "amd64"]
"arm64",
"amd64"
]
} }

View File

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