X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fprod.exs;h=adbce56066682508c0902086afe86bc2f38c8bec;hb=a2aa309496eb98625b47cfb26858e1eee3f9b0cd;hp=e5e5a977e4a0efbe054345f46094c9069c19a622;hpb=a591a044a9c4e0bef1190d7895c8aba11a4cd476;p=akkoma diff --git a/config/prod.exs b/config/prod.exs index e5e5a977e..adbce5606 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -14,12 +14,14 @@ use Mix.Config # manifest is generated by the mix phoenix.digest task # which you typically run after static files are built. config :pleroma, Pleroma.Web.Endpoint, - server: true, http: [port: 4000], 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 # @@ -62,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")