author | Luke Hoersten <luke@hoersten.org> |
Sun, 19 Jan 2020 13:40:16 -0600 | |
changeset 83 | ccd5604f5b69 |
parent 79 | a0cef9f1866e |
permissions | -rw-r--r-- |
60 | 1 |
use Mix.Config |
2 |
||
3 |
config :pleroma, Pleroma.Web.Endpoint, |
|
79 | 4 |
url: [host: "{{pleroma_link_host}}", scheme: "{{pleroma_link_scheme}}", port: {{pleroma_link_port}}], |
5 |
http: [port: {{pleroma_port}}, ip: {127, 0, 0, 1}], |
|
6 |
secret_key_base: "{{pleroma_secret_key}}", |
|
7 |
secure_cookie_flag: true |
|
78 | 8 |
|
9 |
config :pleroma, :http_security, |
|
79 | 10 |
enabled: true, |
78 | 11 |
sts: true, |
12 |
referrer_policy: "same-origin" |
|
60 | 13 |
|
14 |
config :pleroma, :instance, |
|
15 |
name: "{{pleroma_instance_name}}", |
|
64 | 16 |
description: "{{pleroma_desc}}", |
60 | 17 |
email: "{{pleroma_admin_email}}", |
62
63586cf10d46
Added more config variables to pleroma.
Luke Hoersten <luke@hoersten.org>
parents:
60
diff
changeset
|
18 |
limit: {{pleroma_char_limit}}, |
79 | 19 |
registrations_open: {{pleroma_signup_open}}, |
20 |
invites_enabled: {{pleroma_invites_enabled}} |
|
69 | 21 |
|
22 |
config :pleroma, Pleroma.Upload, |
|
23 |
filters: [Pleroma.Upload.Filter.Dedupe] |
|
60 | 24 |
|
25 |
config :pleroma, :media_proxy, |
|
26 |
enabled: false, |
|
27 |
redirect_on_failure: true |
|
28 |
#base_url: "https://cache.pleroma.social" |
|
29 |
||
30 |
# Configure your database |
|
31 |
config :pleroma, Pleroma.Repo, |
|
32 |
adapter: Ecto.Adapters.Postgres, |
|
33 |
username: "{{pleroma_user}}", |
|
34 |
password: "{{pleroma_db_passwd}}", |
|
35 |
database: "{{pleroma_user}}", |
|
62
63586cf10d46
Added more config variables to pleroma.
Luke Hoersten <luke@hoersten.org>
parents:
60
diff
changeset
|
36 |
hostname: "{{pleroma_db_host}}", |
75
d8c87a41cc6d
Pleroma role updates. Added Postgresql role.
Luke Hoersten <luke@hoersten.org>
parents:
69
diff
changeset
|
37 |
pool_size: 10, |
d8c87a41cc6d
Pleroma role updates. Added Postgresql role.
Luke Hoersten <luke@hoersten.org>
parents:
69
diff
changeset
|
38 |
timeout: 60000, |
d8c87a41cc6d
Pleroma role updates. Added Postgresql role.
Luke Hoersten <luke@hoersten.org>
parents:
69
diff
changeset
|
39 |
pool_timeout: 60000 |