1 # Pleroma instance configuration
3 # NOTE: This file should not be committed to a repo or otherwise made public
4 # without removing sensitive information.
8 config :pleroma, Pleroma.Web.Endpoint,
9 url: [host: "<%= domain %>", scheme: "https", port: <%= port %>],
10 secret_key_base: "<%= secret %>"
12 config :pleroma, :instance,
14 email: "<%= email %>",
16 registrations_open: true,
19 config :pleroma, :media_proxy,
21 redirect_on_failure: true
22 #base_url: "https://cache.pleroma.social"
24 config :pleroma, Pleroma.Repo,
25 adapter: Ecto.Adapters.Postgres,
26 username: "<%= dbuser %>",
27 password: "<%= dbpass %>",
28 database: "<%= dbname %>",
29 hostname: "<%= dbhost %>",
32 # Configure web push notifications
33 config :web_push_encryption, :vapid_details,
34 subject: "mailto:<%= email %>",
35 public_key: "<%= web_push_public_key %>",
36 private_key: "<%= web_push_private_key %>"
38 # Enable Strict-Transport-Security once SSL is working:
39 # config :pleroma, :http_security,
42 # Configure S3 support if desired.
43 # The public S3 endpoint is different depending on region and provider,
44 # consult your S3 provider's documentation for details on what to use.
46 # config :pleroma, Pleroma.Uploaders.S3,
47 # bucket: "some-bucket",
48 # public_endpoint: "https://s3.amazonaws.com"
50 # Configure S3 credentials:
51 # config :ex_aws, :s3,
52 # access_key_id: "xxxxxxxxxxxxx",
53 # secret_access_key: "yyyyyyyyyyyy",
54 # region: "us-east-1",
57 # For using third-party S3 clones like wasabi, also do:
58 # config :ex_aws, :s3,
59 # host: "s3.wasabisys.com"
62 # Configure Openstack Swift support if desired.
64 # Many openstack deployments are different, so config is left very open with
65 # no assumptions made on which provider you're using. This should allow very
66 # wide support without needing separate handlers for OVH, Rackspace, etc.
68 # config :pleroma, Pleroma.Uploaders.Swift,
69 # container: "some-container",
70 # username: "api-username-yyyy",
71 # password: "api-key-xxxx",
72 # tenant_id: "<openstack-project/tenant-id>",
73 # auth_url: "https://keystone-endpoint.provider.com",
74 # storage_url: "https://swift-endpoint.prodider.com/v1/AUTH_<tenant>/<container>",
75 # object_url: "https://cdn-endpoint.provider.com/<container>"