Files
confetti/confetti.toml.example
uelen 0f9f89cdd4 Fix example config and an unwrap in main()
Was panicking on missing cert file. Oops. Now prints an error like it
should
2026-06-01 11:30:24 -07:00

24 lines
620 B
TOML

hostname = "confetti.example.com"
port = 53512
federation_port = 53513
listen_address = "0.0.0.0"
certfile = "/etc/letsencrypt/confetti/fullchain.pem"
keyfile = "/etc/letsencrypt/confetti/privkey.pem"
media_directory = "/srv/confetti/media"
statefile = "./confetti.state"
loglevel = "debug"
max_message_len_kb = 10000
# List of users with server-level permissions that are allowed to change anything in
# any room
# admins = ["alice"]
admins = []
# Optional
# account_creation_code = "password1"
[database]
url = "my.db.server"
user = "confetti"
password = "my_secret_password"
db_name = "confetti"
num_connections = 8