Module config

Source
Expand description

Configuration for the application.

Structs§

Api
Core configuration for the API
Auth
Authentication options.
Configuration
The configuration service.
ConfigurationPublic
The public backend configuration. There is an endpoint to get this configuration.
Database
Database configuration.
ImageCache
Configuration for the image proxy cache.
Mail
SMTP configuration.
Network
The the base URL for the API.
TorrustBackend
The whole configuration for the backend.
Tracker
Configuration for the associated tracker.
TrackerStatisticsImporter
Configuration for the tracker statistics importer.
Website
Information displayed to the user in the website.

Enums§

EmailOnSignup
Whether the email is required on signup or not.
TrackerMode
See TrackerMode in torrust-tracker-primitives crate for more information.

Constants§

FREE_PORT
Port number representing that the OS will choose one randomly from the available ports.