3 config :pleroma, Pleroma.Web.Endpoint,
4 url: [host: "<%= domain %>", scheme: "https", port: 443],
5 secret_key_base: "<%= secret %>"
7 config :pleroma, :instance,
11 registrations_open: true,
14 config :pleroma, :media_proxy,
16 redirect_on_failure: true
17 #base_url: "https://cache.pleroma.social"
19 # Configure your database
20 config :pleroma, Pleroma.Repo,
21 adapter: Ecto.Adapters.Postgres,
23 password: "<%= dbpass %>",
24 database: "pleroma_dev",
25 hostname: "localhost",
28 # Configure web push notifications
29 config :web_push_encryption, :vapid_details,
30 subject: "mailto:<%= email %>",
31 public_key: "<%= web_push_public_key %>",
32 private_key: "<%= web_push_private_key %>"
34 # Enable Strict-Transport-Security once SSL is working:
35 # config :pleroma, :http_security,
38 # Configure S3 support if desired.
39 # The public S3 endpoint is different depending on region and provider,
40 # consult your S3 provider's documentation for details on what to use.
42 # config :pleroma, Pleroma.Uploaders.S3,
43 # bucket: "some-bucket",
44 # public_endpoint: "https://s3.amazonaws.com"
46 # Configure S3 credentials:
47 # config :ex_aws, :s3,
48 # access_key_id: "xxxxxxxxxxxxx",
49 # secret_access_key: "yyyyyyyyyyyy",
50 # region: "us-east-1",
53 # For using third-party S3 clones like wasabi, also do:
54 # config :ex_aws, :s3,
55 # host: "s3.wasabisys.com"
58 # Configure Openstack Swift support if desired.
60 # Many openstack deployments are different, so config is left very open with
61 # no assumptions made on which provider you're using. This should allow very
62 # wide support without needing separate handlers for OVH, Rackspace, etc.
64 # config :pleroma, Pleroma.Uploaders.Swift,
65 # container: "some-container",
66 # username: "api-username-yyyy",
67 # password: "api-key-xxxx",
68 # tenant_id: "<openstack-project/tenant-id>",
69 # auth_url: "https://keystone-endpoint.provider.com",
70 # storage_url: "https://swift-endpoint.prodider.com/v1/AUTH_<tenant>/<container>",
71 # object_url: "https://cdn-endpoint.provider.com/<container>"