2023-07-23 20:33:08 +00:00
|
|
|
import Config
|
|
|
|
|
|
|
|
config :pleroma, Pleroma.Web.Endpoint,
|
|
|
|
url: [host: "akkoma.nrd.li", scheme: "https", port: 443],
|
|
|
|
http: [ip: {0, 0, 0, 0}, port: 4000]
|
|
|
|
|
|
|
|
config :pleroma, :instance,
|
|
|
|
name: "NrdLi Akkoma",
|
|
|
|
email: "kegan@keganmyers.com",
|
|
|
|
notify_email: "akkoma@nrd.li",
|
|
|
|
limit: 5000,
|
|
|
|
registrations_open: false
|
|
|
|
|
|
|
|
config :pleroma, :media_proxy,
|
|
|
|
enabled: true,
|
|
|
|
redirect_on_failure: false
|
|
|
|
# todo:
|
|
|
|
# base_url: "https://cache.pleroma.social"
|
|
|
|
config :pleroma, :media_preview_proxy,
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
config :pleroma, Pleroma.Repo,
|
|
|
|
adapter: Ecto.Adapters.Postgres,
|
|
|
|
username: "fake",
|
|
|
|
password: "fake",
|
|
|
|
database: "fake",
|
|
|
|
hostname: "fake",
|
|
|
|
port: 5432
|
|
|
|
|
|
|
|
config :pleroma, :database, rum_enabled: false
|
|
|
|
|
|
|
|
config :pleroma, :instance, static_dir: "/opt/akkoma/instance/static"
|
|
|
|
|
|
|
|
config :pleroma, Pleroma.Upload,
|
|
|
|
uploader: Pleroma.Uploaders.S3,
|
|
|
|
base_url: "https://nrdli-akkoma-cdn.nyc3.cdn.digitaloceanspaces.com"
|
|
|
|
|
|
|
|
config :pleroma, Pleroma.Uploaders.S3,
|
|
|
|
bucket: "nrdli-akkoma-cdn",
|
|
|
|
bucket_namespace: "uploads",
|
|
|
|
truncated_namespace: "",
|
|
|
|
streaming_enabled: true
|
|
|
|
config :ex_aws, :s3,
|
|
|
|
access_key_id: "fake",
|
|
|
|
secret_access_key: "fake",
|
|
|
|
region: "us-east-1",
|
|
|
|
scheme: "https://",
|
|
|
|
host: "nyc3.digitaloceanspaces.com"
|
|
|
|
|
|
|
|
config :pleroma, configurable_from_database: true
|
|
|
|
|
|
|
|
config :pleroma, Pleroma.Upload, filters: [Pleroma.Upload.Filter.Exiftool, Pleroma.Upload.Filter.AnonymizeFilename]
|
|
|
|
|
|
|
|
config :pleroma, :frontends,
|
|
|
|
primary: %{
|
|
|
|
"name" => "pleroma-fe",
|
|
|
|
"ref" => "stable"
|
|
|
|
},
|
|
|
|
admin: %{
|
|
|
|
"name" => "admin-fe",
|
|
|
|
"ref" => "stable"
|
|
|
|
}
|
|
|
|
config :pleroma, :mrf,
|
|
|
|
policies: [Pleroma.Web.ActivityPub.MRF.SimplePolicy]
|