Update docker-compose sample to use node user home dir

This commit is contained in:
oc013 2022-09-23 21:12:50 -04:00
parent ce7937a3a3
commit 971c709e87
No known key found for this signature in database
GPG key ID: D7F45730CF869290

View file

@ -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: