mirror of
https://github.com/zadam/trilium.git
synced 2025-01-24 07:59:08 +08:00
Update docker-compose sample to use node user home dir
This commit is contained in:
parent
ce7937a3a3
commit
971c709e87
1 changed files with 2 additions and 5 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue