new folder structure
This commit is contained in:
50
config/production/config.json
Normal file
50
config/production/config.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"database": {
|
||||
"url": "postgresql://user:password@localhost/aniworld_prod",
|
||||
"pool_size": 20,
|
||||
"max_overflow": 30,
|
||||
"pool_timeout": 30,
|
||||
"pool_recycle": 3600
|
||||
},
|
||||
"redis": {
|
||||
"url": "redis://redis-prod:6379/0",
|
||||
"socket_timeout": 5,
|
||||
"socket_connect_timeout": 5,
|
||||
"retry_on_timeout": true,
|
||||
"max_connections": 50
|
||||
},
|
||||
"logging": {
|
||||
"level": "INFO",
|
||||
"format": "json",
|
||||
"file_max_size": "50MB",
|
||||
"backup_count": 10,
|
||||
"log_to_file": true,
|
||||
"log_to_console": false
|
||||
},
|
||||
"security": {
|
||||
"session_timeout": 3600,
|
||||
"csrf_enabled": true,
|
||||
"secure_cookies": true,
|
||||
"max_login_attempts": 5,
|
||||
"login_lockout_duration": 900
|
||||
},
|
||||
"performance": {
|
||||
"cache_timeout": 3600,
|
||||
"enable_compression": true,
|
||||
"max_request_size": "16MB",
|
||||
"request_timeout": 30
|
||||
},
|
||||
"downloads": {
|
||||
"max_concurrent": 10,
|
||||
"timeout": 3600,
|
||||
"retry_attempts": 3,
|
||||
"download_path": "/app/downloads",
|
||||
"temp_path": "/app/temp"
|
||||
},
|
||||
"monitoring": {
|
||||
"health_check_interval": 60,
|
||||
"metrics_enabled": true,
|
||||
"performance_monitoring": true,
|
||||
"error_reporting": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user