1 use Mix.Config |
1 use Mix.Config |
2 |
2 |
3 config :pleroma, Pleroma.Web.Endpoint, |
3 config :pleroma, Pleroma.Web.Endpoint, |
4 url: [host: "{{pleroma_host}}", scheme: "https", port: 443], |
4 url: [host: "{{pleroma_host}}", scheme: "{{pleroma_scheme}}", port: {{pleroma_port}}], |
5 secret_key_base: "{{pleroma_secret_key}}" |
5 secret_key_base: "{{pleroma_secret_key}}" |
6 |
6 |
7 config :pleroma, :instance, |
7 config :pleroma, :instance, |
8 name: "{{pleroma_instance_name}}", |
8 name: "{{pleroma_instance_name}}", |
9 email: "{{pleroma_admin_email}}", |
9 email: "{{pleroma_admin_email}}", |
10 limit: 5000, |
10 limit: {{pleroma_char_limit}}, |
11 registrations_open: true, |
11 registrations_open: {{pleroma_signup_open}}, |
12 dedupe_media: false |
12 dedupe_media: true |
13 |
13 |
14 config :pleroma, :media_proxy, |
14 config :pleroma, :media_proxy, |
15 enabled: false, |
15 enabled: false, |
16 redirect_on_failure: true |
16 redirect_on_failure: true |
17 #base_url: "https://cache.pleroma.social" |
17 #base_url: "https://cache.pleroma.social" |
20 config :pleroma, Pleroma.Repo, |
20 config :pleroma, Pleroma.Repo, |
21 adapter: Ecto.Adapters.Postgres, |
21 adapter: Ecto.Adapters.Postgres, |
22 username: "{{pleroma_user}}", |
22 username: "{{pleroma_user}}", |
23 password: "{{pleroma_db_passwd}}", |
23 password: "{{pleroma_db_passwd}}", |
24 database: "{{pleroma_user}}", |
24 database: "{{pleroma_user}}", |
25 hostname: "localhost", |
25 hostname: "{{pleroma_db_host}}", |
26 pool_size: 10 |
26 pool_size: 10 |