refactor: yaml configs

This commit is contained in:
2024-12-11 09:46:00 +00:00
parent 48d2fa3c42
commit 1b84e22ea9
15 changed files with 77 additions and 172 deletions

17
config.prod.yaml Normal file
View File

@ -0,0 +1,17 @@
# Listen address for webserver
listen: "0.0.0.0:8000"
# Database connection string (MYSQL)
database: "mysql://root:root@db:3306/route96"
# Directory to store uploads
storage_dir: "/app/data"
# Maximum support filesize for uploading
max_upload_bytes: 104857600
# Public facing url
public_url: "http://localhost:8000"
# Whitelisted pubkeys, leave out to disable
# whitelist: ["63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed"]