roles/pleroma/templates/prod.secret.exs.j2
author Luke Hoersten <luke@hoersten.org>
Thu, 03 Jan 2019 20:46:13 -0600
changeset 69 be979818d483
parent 68 6024861525db
child 75 d8c87a41cc6d
permissions -rw-r--r--
Lots of updates.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
60
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
use Mix.Config
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
config :pleroma, Pleroma.Web.Endpoint,
69
be979818d483 Lots of updates.
Luke Hoersten <luke@hoersten.org>
parents: 68
diff changeset
     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
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
   secret_key_base: "{{pleroma_secret_key}}"
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
config :pleroma, :instance,
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
  name: "{{pleroma_instance_name}}",
64
2b0d305daa43 Moved to prod config.
Luke Hoersten <luke@hoersten.org>
parents: 62
diff changeset
    10
  description: "{{pleroma_desc}}",
60
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    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
be979818d483 Lots of updates.
Luke Hoersten <luke@hoersten.org>
parents: 68
diff changeset
    13
  registrations_open: {{pleroma_signup_open}}
be979818d483 Lots of updates.
Luke Hoersten <luke@hoersten.org>
parents: 68
diff changeset
    14
be979818d483 Lots of updates.
Luke Hoersten <luke@hoersten.org>
parents: 68
diff changeset
    15
config :pleroma, Pleroma.Upload,
be979818d483 Lots of updates.
Luke Hoersten <luke@hoersten.org>
parents: 68
diff changeset
    16
  filters: [Pleroma.Upload.Filter.Dedupe]
60
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    17
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    18
config :pleroma, :media_proxy,
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    19
  enabled: false,
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    20
  redirect_on_failure: true
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    21
  #base_url: "https://cache.pleroma.social"
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    22
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    23
# Configure your database
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    24
config :pleroma, Pleroma.Repo,
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    25
  adapter: Ecto.Adapters.Postgres,
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    26
  username: "{{pleroma_user}}",
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    27
  password: "{{pleroma_db_passwd}}",
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    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}}",
60
48a3a65119d5 Initial commit.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    30
  pool_size: 10