roles/pleroma/templates/prod.secret.exs.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 30 Dec 2018 11:13:20 -0600
changeset 65 4538ad030906
parent 64 2b0d305daa43
child 68 6024861525db
permissions -rw-r--r--
Moved mix commands to prod.

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