bloat.conf 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Format:
  2. # - Lines starting with a '#' are ignored
  3. # - Key and Value are separated by a single '='
  4. # - Leading and trailing white spaces in Key and Value are ignored
  5. # - Quoting and multi-line values are not supported
  6. #
  7. # Changing values of client_name, client_scope or client_website will cause
  8. # previously generated access tokens and client tokens to be invalid. Issue the
  9. # `rm -r database_path/*` command to clean the database afterwards.
  10. # Address to listen to. Value can be of "HOSTNAME:PORT" or "IP:PORT" form. In
  11. # case of empty HOSTNAME or IP, "0.0.0.0:PORT" is used.
  12. # Example: ":8080", "bloat.mydomain.com"
  13. listen_address=127.0.0.1:8080
  14. # Full URL of the website. Users will be redirected to this URL after
  15. # authentication.
  16. # Example: "http://localhost:8080", "https://bloat.mydomain.com"
  17. client_website=http://127.0.0.1:8080
  18. # Name of the client.
  19. client_name=bloat
  20. # Mastadon scopes used by the client.
  21. # See https://docs.joinmastodon.org/api/oauth-scopes/
  22. client_scope=read write follow
  23. # Path of database directory. It's used to store session information.
  24. database_path=database
  25. # Path of directory containing template files.
  26. templates_path=templates
  27. # Path of directory containing static files (CSS and JS).
  28. static_directory=static
  29. # Supported post formats. Value is a list of key:value pair separated by a ','.
  30. # Empty value will disable the format selection in frontend.
  31. post_formats=PlainText:text/plain,HTML:text/html,Markdown:text/markdown,BBCode:text/bbcode
  32. # Log file. Will log to stdout if value is empty.
  33. # log_file=log
  34. # In single instance mode, bloat will not ask for instance domain name and
  35. # user will be directly redirected to login form. User login from other
  36. # instances is not allowed in this mode.
  37. # Empty value disables single instance mode.
  38. # single_instance=pl.mydomain.com
  39. # Path to custom CSS. Value can be a file path relative to the static directory.
  40. # or a URL starting with either "http://" or "https://".
  41. # custom_css=custom.css