Merge remote-tracking branch 'origin/develop' into feature/bbs
[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: <%= port %>],
10 secret_key_base: "<%= secret %>",
11 signing_salt: "<%= signing_salt %>"
12
13 config :pleroma, :instance,
14 name: "<%= name %>",
15 email: "<%= email %>",
16 notify_email: "<%= notify_email %>",
17 limit: 5000,
18 registrations_open: true,
19 dedupe_media: false
20
21 config :pleroma, :media_proxy,
22 enabled: false,
23 redirect_on_failure: true
24 #base_url: "https://cache.pleroma.social"
25
26 config :pleroma, Pleroma.Repo,
27 adapter: Ecto.Adapters.Postgres,
28 username: "<%= dbuser %>",
29 password: "<%= dbpass %>",
30 database: "<%= dbname %>",
31 hostname: "<%= dbhost %>",
32 pool_size: 10
33
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 %>"
39
40 # Enable Strict-Transport-Security once SSL is working:
41 # config :pleroma, :http_security,
42 # sts: true
43
44 # Configure S3 support if desired.
45 # The public S3 endpoint is different depending on region and provider,
46 # consult your S3 provider's documentation for details on what to use.
47 #
48 # config :pleroma, Pleroma.Uploaders.S3,
49 # bucket: "some-bucket",
50 # public_endpoint: "https://s3.amazonaws.com"
51 #
52 # Configure S3 credentials:
53 # config :ex_aws, :s3,
54 # access_key_id: "xxxxxxxxxxxxx",
55 # secret_access_key: "yyyyyyyyyyyy",
56 # region: "us-east-1",
57 # scheme: "https://"
58 #
59 # For using third-party S3 clones like wasabi, also do:
60 # config :ex_aws, :s3,
61 # host: "s3.wasabisys.com"
62
63
64 # Configure Openstack Swift support if desired.
65 #
66 # Many openstack deployments are different, so config is left very open with
67 # no assumptions made on which provider you're using. This should allow very
68 # wide support without needing separate handlers for OVH, Rackspace, etc.
69 #
70 # config :pleroma, Pleroma.Uploaders.Swift,
71 # container: "some-container",
72 # username: "api-username-yyyy",
73 # password: "api-key-xxxx",
74 # tenant_id: "<openstack-project/tenant-id>",
75 # auth_url: "https://keystone-endpoint.provider.com",
76 # storage_url: "https://swift-endpoint.prodider.com/v1/AUTH_<tenant>/<container>",
77 # object_url: "https://cdn-endpoint.provider.com/<container>"
78 #