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 %>",
11 signing_salt: "<%= signing_salt %>"
13 config :pleroma, :instance,
15 email: "<%= email %>",
16 notify_email: "<%= notify_email %>",
18 registrations_open: true,
19 dynamic_configuration: <%= db_configurable? %>
21 config :pleroma, :media_proxy,
23 redirect_on_failure: true
24 #base_url: "https://cache.pleroma.social"
26 config :pleroma, Pleroma.Repo,
27 adapter: Ecto.Adapters.Postgres,
28 username: "<%= dbuser %>",
29 password: "<%= dbpass %>",
30 database: "<%= dbname %>",
31 hostname: "<%= dbhost %>",
34 # Configure web push notifications
35 config :web_push_encryption, :vapid_details,
36 subject: "mailto:<%= email %>",
37 public_key: "<%= web_push_public_key %>",
38 private_key: "<%= web_push_private_key %>"
40 config :pleroma, :instance, static_dir: "<%= static_dir %>"
41 config :pleroma, Pleroma.Uploaders.Local, uploads: "<%= uploads_dir %>"
43 # Enable Strict-Transport-Security once SSL is working:
44 # config :pleroma, :http_security,
47 # Configure S3 support if desired.
48 # The public S3 endpoint is different depending on region and provider,
49 # consult your S3 provider's documentation for details on what to use.
51 # config :pleroma, Pleroma.Uploaders.S3,
52 # bucket: "some-bucket",
53 # public_endpoint: "https://s3.amazonaws.com"
55 # Configure S3 credentials:
56 # config :ex_aws, :s3,
57 # access_key_id: "xxxxxxxxxxxxx",
58 # secret_access_key: "yyyyyyyyyyyy",
59 # region: "us-east-1",
62 # For using third-party S3 clones like wasabi, also do:
63 # config :ex_aws, :s3,
64 # host: "s3.wasabisys.com"
67 # Configure Openstack Swift support if desired.
69 # Many openstack deployments are different, so config is left very open with
70 # no assumptions made on which provider you're using. This should allow very
71 # wide support without needing separate handlers for OVH, Rackspace, etc.
73 # config :pleroma, Pleroma.Uploaders.Swift,
74 # container: "some-container",
75 # username: "api-username-yyyy",
76 # password: "api-key-xxxx",
77 # tenant_id: "<openstack-project/tenant-id>",
78 # auth_url: "https://keystone-endpoint.provider.com",
79 # storage_url: "https://swift-endpoint.prodider.com/v1/AUTH_<tenant>/<container>",
80 # object_url: "https://cdn-endpoint.provider.com/<container>"