X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fprod.exs;h=adbce56066682508c0902086afe86bc2f38c8bec;hb=6a71aa535b3c30c1f3832e6140a51a46a0f2514c;hp=8522c67daee0405804a216ce019e9646670ea702;hpb=46c8f79cd7083e820ee0286d7a38e314423b4727;p=akkoma diff --git a/config/prod.exs b/config/prod.exs index 8522c67da..adbce5606 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -15,14 +15,13 @@ use Mix.Config # which you typically run after static files are built. config :pleroma, Pleroma.Web.Endpoint, http: [port: 4000], - protocol: "http", - debug_errors: true, - code_reloader: true, - check_origin: false, - watchers: [] + protocol: "http" + +config :phoenix, serve_endpoints: true # Do not print debug messages in production -config :logger, level: :info +config :logger, :console, level: :info +config :logger, :ex_syslogger, level: :info # ## SSL Support # @@ -65,3 +64,6 @@ config :logger, level: :info # Finally import the config/prod.secret.exs # which should be versioned separately. import_config "prod.secret.exs" + +if File.exists?("./config/prod.exported_from_db.secret.exs"), + do: import_config("prod.exported_from_db.secret.exs")