Fix security vulnerabilities. Add logging

This commit is contained in:
Ettore
2026-05-09 17:52:59 +02:00
parent d803e2d7f6
commit 69e4f594de
14 changed files with 226 additions and 72 deletions

View File

@@ -7,9 +7,14 @@ services:
- "8000:8000"
volumes:
- ./data:/app/data
- ./logs:/app/logs
environment:
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=changeme
- SECRET_KEY=supersecretkey
- APP_PORT=8000
- CORS_ORIGINS=http://localhost:8000
- TRUSTED_PROXY_IPS=127.0.0.1
- LOG_LEVEL=INFO
- LOG_FILE=/app/logs/app.log
restart: unless-stopped