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