Made tz data location user-configurable (#238)

This commit is contained in:
Kieran
2024-05-13 09:27:16 -07:00
committed by GitHub
parent d093799801
commit 77a9ff4d9f
3 changed files with 8 additions and 5 deletions
+2
View File
@@ -66,6 +66,8 @@ if config_env() == :prod do
expose_feed_endpoints: expose_feed_endpoints,
timezone: System.get_env("TIMEZONE") || System.get_env("TZ") || "UTC"
config :tzdata, :data_dir, System.get_env("TZ_DATA_DIR", "/etc/elixir_tzdata_data")
config :pinchflat, Pinchflat.Repo,
database: db_path,
journal_mode: journal_mode