roles/pleroma/templates/prod.secret.exs.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 31 Dec 2018 15:50:19 -0600
changeset 66 652a236229c2
parent 64 2b0d305daa43
child 68 6024861525db
permissions -rw-r--r--
Updated for external DB.

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