chir.rs/config-example.toml

28 lines
755 B
TOML

# Maximum size of the in-memory object cache.
cache_max_size = 32_000_000
paseto_secret_key_file = "secrets/paseto-secret"
[logging]
#sentry_dsn = "…"
log_level = "debug"
log_style = "Pretty"
[http]
listen = "[::1]:5621"
# Alternatively:
# listen = ["127.0.0.1:5621", "10.0.0.0:12345", "[::1]:5621"]
[gemini]
listen = "[::]:1965"
host = "lotte.chir.rs"
private_key = "secrets/server.key"
certificate = "secrets/server.crt"
[database]
# This file would contain something like
# postgresql://darkkirb:blah@localhost:6432/darkkirb
path = "secrets/db_url.txt"
[s3]
endpoint = "https://ams1.vultrobjects.com/"
region = "us-east-1"
access_key_id_file = "secrets/access_key_id.txt"
secret_access_key_file = "secrets/secret_access_key.txt"
bucket = "chir-rs"