route96/config.toml

29 lines
828 B
TOML
Raw Permalink Normal View History

2024-04-29 21:00:47 +00:00
# Listen address for webserver
listen = "127.0.0.1:8000"
# Database connection string (MYSQL)
2024-09-22 13:26:23 +00:00
database = "mysql://root:root@localhost:3366/route96"
2024-04-29 21:00:47 +00:00
# Directory to store uploads
2024-05-01 14:00:43 +00:00
storage_dir = "./data"
# Maximum support filesize for uploading
2024-06-18 15:01:23 +00:00
max_upload_bytes = 5e+9
2024-05-01 14:00:43 +00:00
# Public facing url
public_url = "http://localhost:8000"
# Whitelisted pubkeys, leave out to disable
2024-05-14 16:06:35 +00:00
# whitelist = ["63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed"]
2024-05-16 20:55:55 +00:00
# Path for ViT(224) image model (https://huggingface.co/google/vit-base-patch16-224)
# vit_model_path = "model.safetennsors"
# Webhook api endpoint
2024-09-26 22:57:28 +00:00
# webhook_url = "https://api.snort.social/api/v1/media/webhook"
# Analytics support
2024-10-15 11:29:43 +00:00
# plausible_url = "https://plausible.com/"
# Support legacy void
# void_cat_database = "postgres://postgres:postgres@localhost:41911/void"