30 lines
706 B
Elixir
30 lines
706 B
Elixir
|
use Mix.Config
|
||
|
|
||
|
config :pleroma, configurable_from_database: true
|
||
|
|
||
|
config :pleroma, Pleroma.Web.Endpoint,
|
||
|
http: [ ip: {0, 0, 0, 0}, ],
|
||
|
url: [host: "example.tld", scheme: "https", port: 443],
|
||
|
secret_key_base: "<use 'openssl rand -base64 48' to generate a key>"
|
||
|
|
||
|
config :pleroma, :instance,
|
||
|
name: "Pleroma",
|
||
|
email: "admin@example.tld",
|
||
|
limit: 5000,
|
||
|
registrations_open: true
|
||
|
|
||
|
config :pleroma, :media_proxy,
|
||
|
enabled: false,
|
||
|
redirect_on_failure: true,
|
||
|
base_url: "https://example.tld"
|
||
|
|
||
|
# Configure your database
|
||
|
config :pleroma, Pleroma.Repo,
|
||
|
adapter: Ecto.Adapters.Postgres,
|
||
|
username: "pleroma",
|
||
|
password: "pleroma",
|
||
|
database: "pleroma",
|
||
|
hostname: "localhost",
|
||
|
pool_size: 10
|
||
|
|