feat(docker): Specify the folder where tzdata downloads data so that it can be used in a volume

Closes #1280

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-04-21 15:49:40 +02:00
parent 2c28312fc9
commit 4bb062528f
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -78,3 +78,5 @@ config :mobilizon, :exports,
config :tz_world, config :tz_world,
data_dir: System.get_env("MOBILIZON_TIMEZONES_DIR", "/var/lib/mobilizon/timezones") data_dir: System.get_env("MOBILIZON_TIMEZONES_DIR", "/var/lib/mobilizon/timezones")
config :tzdata, :data_dir, System.get_env("MOBILIZON_TIMEZONES_DIR", "/var/lib/mobilizon/tzdata")