Skip to content
ActivityPub object

Configuration

Configuration is done through a config.toml file located in the directory comments is run in.

Configuring the application

db_url = "sqlite+aiosqlite:///:memory:"
base_url = "http://comments.cattle-grid"

base_url is the domain the application runs on. It should be a base_url the cattle_grid user is allowed to create actors on.

# Connection To Cattle Grid
amqp_url = "amqp://mkdocs:password@localhost"
username = "mkdocs"

The username and password are of the account on cattle_grid. The RabbitMQ server is expected to be the one cattle_grid is running on.

# Allows running comments as a single process
include_broker = true

Allows running a single process. Set to false, to run a separate faststream process.

Configuring pages

See comments.config.models.PageConfiguration.

Comments