Add timezone and localtime mounts to docker-compose

This commit is contained in:
Jon Fuller 2025-01-06 10:02:11 -08:00 committed by GitHub
parent 4d219723ae
commit c64c72b773
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. # 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 # 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 - ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro