tls_enabled: true
# json web token for authorization between server and client
jwt_secret: "changeme"
+ # path to built documentation
+ docs_dir: "/app/documentation"
# address where pictrs is available
pictrs_url: "http://pictrs:8080"
+ # address where iframely is available
+ iframely_url: "http://iframely"
# rate limits for various user actions, by user ip
rate_limit: {
# maximum number of messages created in interval
pub bind: IpAddr,
pub port: u16,
pub tls_enabled: bool,
+ pub docs_dir: PathBuf,
pub jwt_secret: String,
pub pictrs_url: String,
+ pub iframely_url: String,
pub rate_limit: RateLimitConfig,
pub email: Option<EmailConfig>,
pub federation: FederationConfig,