2021-10-15 16:14:30 +00:00
|
|
|
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
|
|
|
|
|
2023-08-13 05:50:00 +00:00
|
|
|
config :pleroma, configurable_from_database: true
|