3 # For development, we disable any cache and enable
4 # debugging and code reloading.
6 # The watchers configuration can be used to run external
7 # watchers to your application. For example, we use it
8 # with brunch.io to recompile .js and .css sources.
9 config :pleroma, Pleroma.Web.Endpoint,
12 protocol_options: [max_request_line_length: 8192, max_header_value_length: 8192]
22 # In order to use HTTPS in development, a self-signed
23 # certificate can be generated by running the following
24 # command from your terminal:
26 # openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout priv/server.key -out priv/server.pem
28 # The `http:` config above can be replaced with:
30 # https: [port: 4000, keyfile: "priv/server.key", certfile: "priv/server.pem"],
32 # If desired, both `http:` and `https:` keys can be
33 # configured to run both http and https servers on
36 # Do not include metadata nor timestamps in development logs
37 config :logger, :console, format: "[$level] $message\n"
39 # Set a higher stacktrace during development. Avoid configuring such
40 # in production as building large stacktraces may be expensive.
41 config :phoenix, :stacktrace_depth, 20
43 # Configure your database
44 config :pleroma, Pleroma.Repo,
45 adapter: Ecto.Adapters.Postgres,
48 database: "pleroma_dev",
49 hostname: "localhost",
53 import_config "dev.secret.exs"
57 "!!! RUNNING IN LOCALHOST DEV MODE! !!!\nFEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs"