ready for prod
Some checks failed
Docker Build and Publish / build (pull_request) Failing after 50s

This commit is contained in:
2024-11-04 15:48:24 -05:00
parent 6335751f0f
commit ae804aaa42
8 changed files with 463 additions and 145 deletions

20
config.example.toml Normal file
View 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