|
|
|
|
@ -1,15 +1,13 @@
|
|
|
|
|
# TL;DR:
|
|
|
|
|
# Running `docker-compose up` will create/use the "trilium-data" directory in the user home
|
|
|
|
|
# Run `TRILIUM_DATA_DIR=/path/of/your/choice docker-compose up` to set a different directory
|
|
|
|
|
# To run in the background, use `docker-compose up -d`
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
trilium:
|
|
|
|
|
# Optionally, replace `latest` with a version tag like `v0.90.3`
|
|
|
|
|
# Using `latest` may cause unintended updates to the container
|
|
|
|
|
image: triliumnext/notes:latest
|
|
|
|
|
# Restart the container unless it was stopped by the user
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
restart: unless-stopped`
|
|
|
|
|
environment:
|
|
|
|
|
- TRILIUM_DATA_DIR=/home/node/trilium-data
|
|
|
|
|
ports:
|
|
|
|
|
|