--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/pleroma/templates/prod.secret.exs.j2 Fri Dec 28 00:27:10 2018 -0500
@@ -0,0 +1,27 @@
+use Mix.Config
+
+config :pleroma, Pleroma.Web.Endpoint,
+ url: [host: "{{pleroma_host}}", scheme: "{{pleroma_scheme}}", port: {{pleroma_port}}],
+ secret_key_base: "{{pleroma_secret_key}}"
+
+config :pleroma, :instance,
+ name: "{{pleroma_instance_name}}",
+ description: "{{pleroma_desc}}",
+ email: "{{pleroma_admin_email}}",
+ limit: {{pleroma_char_limit}},
+ registrations_open: {{pleroma_signup_open}},
+ dedupe_media: true
+
+config :pleroma, :media_proxy,
+ enabled: false,
+ redirect_on_failure: true
+ #base_url: "https://cache.pleroma.social"
+
+# Configure your database
+config :pleroma, Pleroma.Repo,
+ adapter: Ecto.Adapters.Postgres,
+ username: "{{pleroma_user}}",
+ password: "{{pleroma_db_passwd}}",
+ database: "{{pleroma_user}}",
+ hostname: "{{pleroma_db_host}}",
+ pool_size: 10