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,
|
|
|
|
#base_url: "https://cache.pleroma.social"
|
|
|
|
|
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
|