Fix security vulnerabilities. Add logging
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user