projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DeleteValidator: Don't federate local deletions of remote objects.
[akkoma]
/
config
/
prod.exs
diff --git
a/config/prod.exs
b/config/prod.exs
index 732bab2b0026295b955de51a54cffd1263925fc3..adbce56066682508c0902086afe86bc2f38c8bec 100644
(file)
--- 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,
# manifest is generated by the mix phoenix.digest task
# which you typically run after static files are built.
config :pleroma, Pleroma.Web.Endpoint,
- on_init: {Pleroma.Web.Endpoint, :load_from_system_env, []},
- url: [host: "example.com", port: 80],
- cache_static_manifest: "priv/static/cache_manifest.json"
+ http: [port: 4000],
+ protocol: "http"
+
+config :phoenix, serve_endpoints: true
# Do not print debug messages in production
# Do not print debug messages in production
-config :logger, level: :info
+config :logger, :console, level: :info
+config :logger, :ex_syslogger, level: :info
# ## SSL Support
#
# ## 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"
# 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")