Allow importing extra config (#3906)
* allow importing extra config * changelog * fix typo * add testpull/3901/merge
parent
dfcc8d794a
commit
4242b52be4
@ -0,0 +1,8 @@
|
|||||||
|
import Config
|
||||||
|
import Plausible.ConfigHelpers
|
||||||
|
|
||||||
|
config_dir = System.get_env("CONFIG_DIR", "/run/secrets")
|
||||||
|
|
||||||
|
if extra_config_path = get_var_from_path_or_env(config_dir, "EXTRA_CONFIG_PATH") do
|
||||||
|
import_config extra_config_path
|
||||||
|
end
|
||||||
Loading…
Reference in New Issue