mirror of
https://github.com/v0l/route96.git
synced 2025-06-16 08:18:50 +00:00
refactor: yaml configs
This commit is contained in:
17
config.prod.yaml
Normal file
17
config.prod.yaml
Normal 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"]
|
Reference in New Issue
Block a user