roles/pleroma/templates/prod.secret.exs.j2
changeset 64 2b0d305daa43
parent 62 63586cf10d46
child 68 6024861525db
equal deleted inserted replaced
63:56531bbfd074 64:2b0d305daa43
       
     1 use Mix.Config
       
     2 
       
     3 config :pleroma, Pleroma.Web.Endpoint,
       
     4    url: [host: "{{pleroma_host}}", scheme: "{{pleroma_scheme}}", port: {{pleroma_port}}],
       
     5    secret_key_base: "{{pleroma_secret_key}}"
       
     6 
       
     7 config :pleroma, :instance,
       
     8   name: "{{pleroma_instance_name}}",
       
     9   description: "{{pleroma_desc}}",
       
    10   email: "{{pleroma_admin_email}}",
       
    11   limit: {{pleroma_char_limit}},
       
    12   registrations_open: {{pleroma_signup_open}},
       
    13   dedupe_media: true
       
    14 
       
    15 config :pleroma, :media_proxy,
       
    16   enabled: false,
       
    17   redirect_on_failure: true
       
    18   #base_url: "https://cache.pleroma.social"
       
    19 
       
    20 # Configure your database
       
    21 config :pleroma, Pleroma.Repo,
       
    22   adapter: Ecto.Adapters.Postgres,
       
    23   username: "{{pleroma_user}}",
       
    24   password: "{{pleroma_db_passwd}}",
       
    25   database: "{{pleroma_user}}",
       
    26   hostname: "{{pleroma_db_host}}",
       
    27   pool_size: 10