bloat/bloat.conf

53 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

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