pleroma/otp/templates/config.exs.j2
changeset 123 e8d0308b94b2
parent 109 646e4b395cc8
child 139 4efa743f2fa1
equal deleted inserted replaced
122:cde9702e3bff 123:e8d0308b94b2
     1 import Config
     1 import Config
     2 
     2 
     3 config :pleroma, Pleroma.Web.Endpoint,
     3 config :pleroma, Pleroma.Web.Endpoint,
     4   url: [host: "{{pleroma_link_host}}", scheme: "{{pleroma_link_scheme}}", port: {{pleroma_link_port}}],
     4   url: [host: "{{pleroma_link_host}}", scheme: "{{pleroma_link_scheme}}", port: {{pleroma_link_port}}],
     5   http: [port: {{pleroma_port}}, ip: {127, 0, 0, 1}],
     5   http: [port: {{pleroma_port}}, ip: {0, 0, 0, 0}],
     6   secret_key_base: "{{pleroma_secret_key}}",
     6   secret_key_base: "{{pleroma_secret_key}}",
     7   secure_cookie_flag: true
     7   secure_cookie_flag: true
     8 
     8 
     9 config :pleroma, :http_security,
     9 config :pleroma, :http_security,
    10   enabled: true,
    10   enabled: true,
    28   uploads: "{{pleroma_data_dir}}/{{pleroma_instance}}/uploads/"
    28   uploads: "{{pleroma_data_dir}}/{{pleroma_instance}}/uploads/"
    29 
    29 
    30 config :pleroma, :media_proxy,
    30 config :pleroma, :media_proxy,
    31   enabled: true,
    31   enabled: true,
    32   redirect_on_failure: true
    32   redirect_on_failure: true
    33   #base_url: "https://cache.pleroma.social"
       
    34 
    33 
    35 config :pleroma, Pleroma.Repo,
    34 config :pleroma, Pleroma.Repo,
    36   adapter: Ecto.Adapters.Postgres,
    35   adapter: Ecto.Adapters.Postgres,
    37   username: "{{pleroma_db_user}}",
    36   username: "{{pleroma_db_user}}",
    38   password: "{{pleroma_db_passwd}}",
    37   password: "{{pleroma_db_passwd}}",