mirror of
https://github.com/samply/bridgehead.git
synced 2025-11-03 14:50:18 +01:00
Directory sync: inherit host timezone
Directory sync needs to be able to launch at specific times of day, and in order to do this in a predictable way, the timezone used inside the Docker container should be the same as the host. To do this, two files need to be mounted from the host. One file contains information about the time zone, the other file contains the file zone name.
This commit is contained in:
@@ -16,3 +16,6 @@ services:
|
||||
DS_IMPORT_COLLECTIONS: ${DS_IMPORT_COLLECTIONS:-true}
|
||||
depends_on:
|
||||
- "blaze"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro # inherit host timezone
|
||||
- /etc/timezone:/etc/timezone:ro # inherit host timezone name
|
||||
|
||||
Reference in New Issue
Block a user