Refactor Mix tasks
[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