36bd97ba87
- added DynamicSupervisor, which starts Pleroma deps and restarts config dependent deps - added pleroma installer, where user can configure database credentials and pleroma config. Settings are saved into file and in database - added versioning for in database config. New version is created from changes which are passed to config update/delete endpoint. Every version contains backup with all changes added through update. Versioning supports rollbacks with N steps. With a rollback, all versions that come after the version on which the rollback was made are deleted.
10 lines
496 B
Elixir
10 lines
496 B
Elixir
config :pleroma, Pleroma.Web.Endpoint,
|
|
url: [host: "<%= endpoint_url_host %>", scheme: "<%= endpoint_url_scheme %>", port: <%= endpoint_url_port %>],
|
|
http: [ip: {<%= String.replace(endpoint_http_ip, ".", ", ") %>}, port: <%= endpoint_http_port %>],
|
|
secret_key_base: "<%= endpoint_secret_key_base %>",
|
|
signing_salt: "<%= endpoint_signing_salt %>"
|
|
|
|
config :pleroma, configurable_from_database: <%= configurable_from_database %>
|
|
|
|
config :joken, default_signer: "<%= joken_default_signer %>"
|