This commit is contained in:
20
config.example.toml
Normal file
20
config.example.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
[server]
|
||||
host = "0.0.0.0"
|
||||
port = 5000
|
||||
|
||||
[directories]
|
||||
upload = "/app/uploads"
|
||||
thumbnail = "/app/thumbnails"
|
||||
|
||||
[admin]
|
||||
# Change this password!
|
||||
password = "changeme"
|
||||
|
||||
[appearance]
|
||||
accent_color = "#007bff"
|
||||
|
||||
[security]
|
||||
# Add these security settings
|
||||
max_upload_size_mb = 80
|
||||
allowed_extensions = ["jpg", "jpeg", "png", "gif"]
|
||||
rate_limit = 100 # requests per minute
|
||||
Reference in New Issue
Block a user