2017-11-23 15:22:20 +00:00
|
|
|
use Mix.Config
|
|
|
|
|
|
|
|
config :pleroma, Pleroma.Web.Endpoint,
|
|
|
|
url: [host: "<%= domain %>", scheme: "https", port: 443],
|
|
|
|
secret_key_base: "<%= secret %>"
|
|
|
|
|
|
|
|
config :pleroma, :instance,
|
|
|
|
name: "<%= name %>",
|
|
|
|
email: "<%= email %>",
|
|
|
|
limit: 5000,
|
|
|
|
registrations_open: true
|
|
|
|
|
2018-01-09 11:31:11 +00:00
|
|
|
config :pleroma, :media_proxy,
|
|
|
|
enabled: <%= mediaproxy %>,
|
|
|
|
redirect_on_failure: true,
|
2018-01-12 20:38:14 +00:00
|
|
|
base_url: "<%= proxy_url %>"
|
2018-01-09 11:31:11 +00:00
|
|
|
|
2017-11-23 15:22:20 +00:00
|
|
|
# Configure your database
|
|
|
|
config :pleroma, Pleroma.Repo,
|
|
|
|
adapter: Ecto.Adapters.Postgres,
|
2017-11-26 17:57:49 +00:00
|
|
|
username: "pleroma",
|
|
|
|
password: "<%= dbpass %>",
|
2017-11-23 15:22:20 +00:00
|
|
|
database: "pleroma_dev",
|
|
|
|
hostname: "localhost",
|
|
|
|
pool_size: 10
|