Merge branch 'restricted-relations-embedding' into 'develop'
[akkoma] / config / dokku.exs
1 use Mix.Config
2
3 config :pleroma, Pleroma.Web.Endpoint,
4 http: [
5 port: String.to_integer(System.get_env("PORT") || "4000"),
6 protocol_options: [max_request_line_length: 8192, max_header_value_length: 8192]
7 ],
8 protocol: "http",
9 secure_cookie_flag: false,
10 url: [host: System.get_env("APP_HOST"), scheme: "https", port: 443],
11 secret_key_base: "+S+ULgf7+N37c/lc9K66SMphnjQIRGklTu0BRr2vLm2ZzvK0Z6OH/PE77wlUNtvP"
12
13 database_url =
14 System.get_env("DATABASE_URL") ||
15 raise """
16 environment variable DATABASE_URL is missing.
17 For example: ecto://USER:PASS@HOST/DATABASE
18 """
19
20 config :pleroma, Pleroma.Repo,
21 # ssl: true,
22 url: database_url,
23 pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
24
25 config :pleroma, :instance, name: "#{System.get_env("APP_NAME")} CI Instance"