Merge pull request #892 from TriliumNext/perfectra1n-patch-2

Add timezone and localtime mounts to docker-compose
This commit is contained in:
Elian Doran 2025-01-07 22:16:47 +02:00 committed by GitHub
commit c80299ec47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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