81 lines
1.7 KiB
JSON
81 lines
1.7 KiB
JSON
{
|
|
"database": {
|
|
"connection_timeout": 10000,
|
|
"host": "localhost",
|
|
"password": "changeme",
|
|
"pool_size": 5,
|
|
"port": 5432,
|
|
"username": "provisioning"
|
|
},
|
|
"logging": {
|
|
"format": "json",
|
|
"level": "info",
|
|
"output": "stdout"
|
|
},
|
|
"mode": "solo",
|
|
"monitoring": {
|
|
"enabled": true,
|
|
"health_check_interval": 30,
|
|
"metrics_port": 9090
|
|
},
|
|
"queue": {
|
|
"dead_letter_queue": {
|
|
"enabled": true,
|
|
"max_size": 1000
|
|
},
|
|
"max_concurrent_tasks": 5,
|
|
"metrics": false,
|
|
"persist": true,
|
|
"priority_queue": false,
|
|
"retry_attempts": 3,
|
|
"retry_delay": 5000,
|
|
"task_timeout": 3600000
|
|
},
|
|
"resources": {
|
|
"cpus": "1.0",
|
|
"disk": "10G",
|
|
"memory": "1024M"
|
|
},
|
|
"security": {
|
|
"auth_backend": "local",
|
|
"enable_auth": false,
|
|
"token_expiry": 86400
|
|
},
|
|
"server": {
|
|
"address": "0.0.0.0",
|
|
"cors": {
|
|
"allowed_methods": [
|
|
"GET",
|
|
"POST",
|
|
"PUT",
|
|
"DELETE"
|
|
],
|
|
"allowed_origins": [
|
|
"*"
|
|
],
|
|
"enabled": true
|
|
},
|
|
"port": 8080,
|
|
"rate_limiting": {
|
|
"burst_size": 50,
|
|
"enabled": true,
|
|
"requests_per_second": 100
|
|
},
|
|
"tls": false
|
|
},
|
|
"storage": {
|
|
"backend": "filesystem",
|
|
"cache_enabled": true,
|
|
"cache_ttl": 3600,
|
|
"max_size": 10737418240,
|
|
"path": "/var/provisioning/storage"
|
|
},
|
|
"workspace": {
|
|
"cache_path": "/var/provisioning/workspace/cache",
|
|
"data_path": "/var/provisioning/workspace/data",
|
|
"execution_mode": "local",
|
|
"isolation_level": "process",
|
|
"root_path": "/var/provisioning/workspace",
|
|
"state_path": "/var/provisioning/workspace/state"
|
|
}
|
|
}
|