15 lines
495 B
Elixir
15 lines
495 B
Elixir
import Config
|
|
|
|
config :pleroma, Pleroma.Web.Endpoint,
|
|
url: [host: System.get_env("DOMAIN", "localhost"), scheme: "https", port: 443],
|
|
http: [ip: {0, 0, 0, 0}, port: 4000]
|
|
|
|
config :pleroma, Pleroma.Repo,
|
|
adapter: Ecto.Adapters.Postgres,
|
|
username: System.get_env("DB_USER", "pleroma"),
|
|
password: System.fetch_env!("DB_PASS"),
|
|
database: System.get_env("DB_NAME", "pleroma"),
|
|
hostname: System.get_env("DB_HOST", "db"),
|
|
pool_size: 10
|
|
|
|
config :pleroma, configurable_from_database: true |