Attempt to resolve merge conflict
[akkoma] / lib / mix / tasks / pleroma / sample_config.eex
1 # Pleroma instance configuration
2
3 # NOTE: This file should not be committed to a repo or otherwise made public
4 # without removing sensitive information.
5
6 use Mix.Config
7
8 config :pleroma, Pleroma.Web.Endpoint,
9 url: [host: "<%= domain %>", scheme: "https", port: 443],
10 secret_key_base: "<%= secret %>"
11
12 config :pleroma, :instance,
13 name: "<%= name %>",
14 email: "<%= email %>",
15 limit: 5000,
16 registrations_open: true,
17 dedupe_media: false
18
19 config :pleroma, :media_proxy,
20 enabled: false,
21 redirect_on_failure: true
22 #base_url: "https://cache.pleroma.social"
23
24 config :pleroma, Pleroma.Repo,
25 adapter: Ecto.Adapters.Postgres,
26 username: "<%= dbuser %>",
27 password: "<%= dbpass %>",
28 database: "<%= dbname %>",
29 hostname: "<%= dbhost %>",
30 pool_size: 10
31
32 # Enable Strict-Transport-Security once SSL is working:
33 # config :pleroma, :http_security,
34 # sts: true
35
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.
39 #
40 # config :pleroma, Pleroma.Uploaders.S3,
41 # bucket: "some-bucket",
42 # public_endpoint: "https://s3.amazonaws.com"
43 #
44 # Configure S3 credentials:
45 # config :ex_aws, :s3,
46 # access_key_id: "xxxxxxxxxxxxx",
47 # secret_access_key: "yyyyyyyyyyyy",
48 # region: "us-east-1",
49 # scheme: "https://"
50 #
51 # For using third-party S3 clones like wasabi, also do:
52 # config :ex_aws, :s3,
53 # host: "s3.wasabisys.com"
54
55
56 # Configure Openstack Swift support if desired.
57 #
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.
61 #
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>"
70 #
71