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