3 config :pleroma, :instance, static_dir: "/var/lib/pleroma/static"
4 config :pleroma, Pleroma.Uploaders.Local, uploads: "/var/lib/pleroma/uploads"
5 config :pleroma, :modules, runtime_dir: "/var/lib/pleroma/modules"
7 config_path = System.get_env("PLEROMA_CONFIG_PATH") || "/etc/pleroma/config.exs"
9 config :pleroma, release: true, config_path: config_path
11 if File.exists?(config_path) do
12 import_config config_path
17 "!!! #{config_path} not found! Please ensure it exists and that PLEROMA_CONFIG_PATH is unset or points to an existing file",
27 |> Path.join("prod.exported_from_db.secret.exs")
29 if File.exists?(exported_config) do
30 import_config exported_config