Skip to content

Commit

Permalink
Add timezone and localtime mounts to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectra1n authored Jan 6, 2025
1 parent 4d21972 commit c64c72b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ services:
# Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory.
# This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data
- ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro

0 comments on commit c64c72b

Please sign in to comment.