author | Luke Hoersten <luke@hoersten.org> |
Sun, 17 Nov 2019 08:51:19 -0600 | |
changeset 77 | e5c97510c1c0 |
parent 75 | d8c87a41cc6d |
child 78 | 18b6a82be777 |
permissions | -rw-r--r-- |
60 | 1 |
use Mix.Config |
2 |
||
3 |
config :pleroma, Pleroma.Web.Endpoint, |
|
69 | 4 |
url: [host: "{{pleroma_link_host}}", scheme: "{{pleroma_link_scheme}}", port: {{pleroma_link_port}}], |
68
6024861525db
Fixed port placement of multiple instances.
Luke Hoersten <luke@hoersten.org>
parents:
64
diff
changeset
|
5 |
http: [port: {{pleroma_port}}], |
60 | 6 |
secret_key_base: "{{pleroma_secret_key}}" |
7 |
||
8 |
config :pleroma, :instance, |
|
9 |
name: "{{pleroma_instance_name}}", |
|
64 | 10 |
description: "{{pleroma_desc}}", |
60 | 11 |
email: "{{pleroma_admin_email}}", |
62
63586cf10d46
Added more config variables to pleroma.
Luke Hoersten <luke@hoersten.org>
parents:
60
diff
changeset
|
12 |
limit: {{pleroma_char_limit}}, |
69 | 13 |
registrations_open: {{pleroma_signup_open}} |
14 |
||
15 |
config :pleroma, Pleroma.Upload, |
|
16 |
filters: [Pleroma.Upload.Filter.Dedupe] |
|
60 | 17 |
|
18 |
config :pleroma, :media_proxy, |
|
19 |
enabled: false, |
|
20 |
redirect_on_failure: true |
|
21 |
#base_url: "https://cache.pleroma.social" |
|
22 |
||
23 |
# Configure your database |
|
24 |
config :pleroma, Pleroma.Repo, |
|
25 |
adapter: Ecto.Adapters.Postgres, |
|
26 |
username: "{{pleroma_user}}", |
|
27 |
password: "{{pleroma_db_passwd}}", |
|
28 |
database: "{{pleroma_user}}", |
|
62
63586cf10d46
Added more config variables to pleroma.
Luke Hoersten <luke@hoersten.org>
parents:
60
diff
changeset
|
29 |
hostname: "{{pleroma_db_host}}", |
75
d8c87a41cc6d
Pleroma role updates. Added Postgresql role.
Luke Hoersten <luke@hoersten.org>
parents:
69
diff
changeset
|
30 |
pool_size: 10, |
d8c87a41cc6d
Pleroma role updates. Added Postgresql role.
Luke Hoersten <luke@hoersten.org>
parents:
69
diff
changeset
|
31 |
timeout: 60000, |
d8c87a41cc6d
Pleroma role updates. Added Postgresql role.
Luke Hoersten <luke@hoersten.org>
parents:
69
diff
changeset
|
32 |
pool_timeout: 60000 |