2017-11-23 16:22:20 +01: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 12:31:11 +01:00
|
|
|
config :pleroma, :media_proxy,
|
|
|
|
enabled: <%= mediaproxy %>,
|
|
|
|
redirect_on_failure: true,
|
2018-01-12 21:38:14 +01:00
|
|
|
base_url: "<%= proxy_url %>"
|
2018-01-09 12:31:11 +01:00
|
|
|
|
2017-11-23 16:22:20 +01:00
|
|
|
# Configure your database
|
|
|
|
config :pleroma, Pleroma.Repo,
|
|
|
|
adapter: Ecto.Adapters.Postgres,
|
2017-11-26 18:57:49 +01:00
|
|
|
username: "pleroma",
|
|
|
|
password: "<%= dbpass %>",
|
2017-11-23 16:22:20 +01:00
|
|
|
database: "pleroma_dev",
|
|
|
|
hostname: "localhost",
|
|
|
|
pool_size: 10
|