chir.rs/config-example.toml

29 lines
755 B
TOML
Raw Permalink Normal View History

2024-11-30 07:19:07 +00:00
# Maximum size of the in-memory object cache.
cache_max_size = 32_000_000
2024-12-03 08:15:25 +00:00
paseto_secret_key_file = "secrets/paseto-secret"
2024-11-30 07:19:07 +00:00
2024-11-26 07:41:01 +00:00
[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]
2024-11-28 07:45:41 +00:00
# This file would contain something like
# postgresql://darkkirb:blah@localhost:6432/darkkirb
path = "secrets/db_url.txt"
2024-11-27 10:16:57 +00:00
[s3]
2024-11-28 07:45:41 +00:00
endpoint = "https://ams1.vultrobjects.com/"
2024-11-27 10:16:57 +00:00
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"