Skip to content

Commit

Permalink
fix docker-compose.yml #2239
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Oct 3, 2023
1 parent 9665e87 commit 78b6614
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# 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
version: '2.1'
services:
trilium:
Expand All @@ -8,7 +10,7 @@ services:
ports:
- "8080:8080"
volumes:
- trilium:/home/node/trilium-data
- ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data

volumes:
trilium:

0 comments on commit 78b6614

Please sign in to comment.