X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fprod.exs;h=9c205cbd2f02cde66445e94235a807413dcf70e0;hb=d9410c488a85bc8da87c1b662ed0a8ffac4d6466;hp=8522c67daee0405804a216ce019e9646670ea702;hpb=46c8f79cd7083e820ee0286d7a38e314423b4727;p=akkoma diff --git a/config/prod.exs b/config/prod.exs index 8522c67da..9c205cbd2 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -15,14 +15,12 @@ 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, level: :warn # ## SSL Support # @@ -65,3 +63,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")