From ee7749690916e6cd84f6d6b2b967d88c7bda27c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 9 Jan 2023 13:09:51 +0100 Subject: [PATCH] trilium: add --- .env | 4 +++- trilium.yml | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 trilium.yml diff --git a/.env b/.env index 481df38..2b9d40c 100644 --- a/.env +++ b/.env @@ -23,4 +23,6 @@ AUDIOBOOKSHELF_EXTERNAL_PORT=13378 TIMETRACKER_EXTERNAL_PORT=8003 TIMETRACKER_INTERNAL_PORT=8000 MEALIE_EXTERNAL_PORT=9925 -MEALIE_INTERNAL_PORT=80 \ No newline at end of file +MEALIE_INTERNAL_PORT=80 +TRILIUM_EXTERNAL_PORT=8080 +TRILIUM_INTERNAL_PORT=8080 \ No newline at end of file diff --git a/trilium.yml b/trilium.yml new file mode 100644 index 0000000..a2d81c2 --- /dev/null +++ b/trilium.yml @@ -0,0 +1,10 @@ +services: + trilium: + image: zadam/trilium + restart: always + environment: + - TRILIUM_DATA_DIR=/home/node/trilium-data + ports: + - "${TRILIUM_EXTERNAL_PORT}:${TRILIUM_INTERNAL_PORT}" + volumes: + - ${DOCKER_STORAGE_PATH}/trilium:/home/node/trilium-data \ No newline at end of file