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: 443],
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 # Enable Strict-Transport-Security once SSL is working:
33 # config :pleroma, :http_security,
36 # Configure S3 support if desired.
37 # The public S3 endpoint is different depending on region and provider,
38 # consult your S3 provider's documentation for details on what to use.
40 # config :pleroma, Pleroma.Uploaders.S3,
41 # bucket: "some-bucket",
42 # public_endpoint: "https://s3.amazonaws.com"
44 # Configure S3 credentials:
45 # config :ex_aws, :s3,
46 # access_key_id: "xxxxxxxxxxxxx",
47 # secret_access_key: "yyyyyyyyyyyy",
48 # region: "us-east-1",
51 # For using third-party S3 clones like wasabi, also do:
52 # config :ex_aws, :s3,
53 # host: "s3.wasabisys.com"
56 # Configure Openstack Swift support if desired.
58 # Many openstack deployments are different, so config is left very open with
59 # no assumptions made on which provider you're using. This should allow very
60 # wide support without needing separate handlers for OVH, Rackspace, etc.
62 # config :pleroma, Pleroma.Uploaders.Swift,
63 # container: "some-container",
64 # username: "api-username-yyyy",
65 # password: "api-key-xxxx",
66 # tenant_id: "<openstack-project/tenant-id>",
67 # auth_url: "https://keystone-endpoint.provider.com",
68 # storage_url: "https://swift-endpoint.prodider.com/v1/AUTH_<tenant>/<container>",
69 # object_url: "https://cdn-endpoint.provider.com/<container>"