f2272b10a76214022c18d1d035d8a80fc60178eb
[akkoma] / lib / mix / tasks / sample_config.eex
1 use Mix.Config
2
3 config :pleroma, Pleroma.Web.Endpoint,
4 url: [host: "<%= domain %>", scheme: "https", port: 443],
5 secret_key_base: "<%= secret %>"
6
7 config :pleroma, :instance,
8 name: "<%= name %>",
9 email: "<%= email %>",
10 limit: 5000,
11 registrations_open: true,
12 dedupe_media: false
13
14 config :pleroma, :media_proxy,
15 enabled: false,
16 redirect_on_failure: true
17 #base_url: "https://cache.pleroma.social"
18
19 # Configure your database
20 config :pleroma, Pleroma.Repo,
21 adapter: Ecto.Adapters.Postgres,
22 username: "pleroma",
23 password: "<%= dbpass %>",
24 database: "pleroma_dev",
25 hostname: "localhost",
26 pool_size: 10
27
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 %>"
33
34 # Configure S3 support if desired.
35 # The public S3 endpoint is different depending on region and provider,
36 # consult your S3 provider's documentation for details on what to use.
37 #
38 # config :pleroma, Pleroma.Uploaders.S3,
39 # bucket: "some-bucket",
40 # public_endpoint: "https://s3.amazonaws.com"
41 #
42 # Configure S3 credentials:
43 # config :ex_aws, :s3,
44 # access_key_id: "xxxxxxxxxxxxx",
45 # secret_access_key: "yyyyyyyyyyyy",
46 # region: "us-east-1",
47 # scheme: "https://"
48 #
49 # For using third-party S3 clones like wasabi, also do:
50 # config :ex_aws, :s3,
51 # host: "s3.wasabisys.com"
52
53
54 # Configure Openstack Swift support if desired.
55 #
56 # Many openstack deployments are different, so config is left very open with
57 # no assumptions made on which provider you're using. This should allow very
58 # wide support without needing separate handlers for OVH, Rackspace, etc.
59 #
60 # config :pleroma, Pleroma.Uploaders.Swift,
61 # container: "some-container",
62 # username: "api-username-yyyy",
63 # password: "api-key-xxxx",
64 # tenant_id: "<openstack-project/tenant-id>",
65 # auth_url: "https://keystone-endpoint.provider.com",
66 # storage_url: "https://swift-endpoint.prodider.com/v1/AUTH_<tenant>/<container>",
67 # object_url: "https://cdn-endpoint.provider.com/<container>"
68 #
69