From 971c709e87880ffee0aab4441416e947c5796771 Mon Sep 17 00:00:00 2001 From: oc013 <101832295+oc013@users.noreply.github.com> Date: Fri, 23 Sep 2022 21:12:50 -0400 Subject: [PATCH] Update docker-compose sample to use node user home dir --- docker-compose.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ff74f8a89..ccfff054f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,17 +1,14 @@ version: '2.1' services: trilium: - build: - context: . image: zadam/trilium restart: always environment: - - TRILIUM_DATA_DIR=/data + - TRILIUM_DATA_DIR=/home/node/trilium-data ports: - "8080:8080" volumes: - - trilium:/data + - trilium:/home/node/trilium-data volumes: trilium: -