26 |
26 |
27 config :pleroma, Pleroma.Uploaders.Local, |
27 config :pleroma, Pleroma.Uploaders.Local, |
28 uploads: "{{pleroma_data_dir}}/{{pleroma_instance}}/uploads/" |
28 uploads: "{{pleroma_data_dir}}/{{pleroma_instance}}/uploads/" |
29 |
29 |
30 config :pleroma, :media_proxy, |
30 config :pleroma, :media_proxy, |
31 enabled: false, |
31 enabled: true, |
32 redirect_on_failure: true |
32 redirect_on_failure: true |
33 #base_url: "https://cache.pleroma.social" |
33 #base_url: "https://cache.pleroma.social" |
34 |
34 |
35 # Configure your database |
|
36 config :pleroma, Pleroma.Repo, |
35 config :pleroma, Pleroma.Repo, |
37 adapter: Ecto.Adapters.Postgres, |
36 adapter: Ecto.Adapters.Postgres, |
38 username: "{{pleroma_db_user}}", |
37 username: "{{pleroma_db_user}}", |
39 password: "{{pleroma_db_passwd}}", |
38 password: "{{pleroma_db_passwd}}", |
40 database: "{{pleroma_db}}", |
39 database: "{{pleroma_db}}", |
41 hostname: "{{pleroma_db_host}}", |
40 hostname: "{{pleroma_db_host}}", |
42 pool_size: 10, |
41 pool_size: 10, |
43 timeout: 60000, |
42 timeout: 60000 |
44 pool_timeout: 60000 |
|