mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
77 lines
1.9 KiB
JSON
77 lines
1.9 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
|
|
|
|
"general": {
|
|
"reply_timeout": "30s",
|
|
},
|
|
|
|
"logger": {
|
|
"level": 7
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012",
|
|
"rpc_gob": ":2013",
|
|
"http": ":2080",
|
|
},
|
|
|
|
|
|
"db": {
|
|
"db_conns": {
|
|
"*default": {
|
|
"db_type": "mongo",
|
|
"db_host": "127.0.0.1",
|
|
"db_port": 27017,
|
|
"db_name": "10",
|
|
"db_user": "cgrates"
|
|
},
|
|
"StorDB": {
|
|
"db_type": "mongo",
|
|
"db_host": "127.0.0.1",
|
|
"db_port": 27017,
|
|
"db_name": "cgrates",
|
|
"db_user": "cgrates"
|
|
}
|
|
},
|
|
"items": {
|
|
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
|
|
}
|
|
},
|
|
|
|
"caches":{
|
|
"partitions": {
|
|
"*resource_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*resources": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*statqueues": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*statqueue_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*thresholds": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*threshold_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*filters": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*route_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*attribute_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*resource_filter_indexes" :{"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*stat_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*threshold_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*route_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*attribute_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"*charger_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
|
|
},
|
|
},
|
|
|
|
|
|
"migrator": {
|
|
"out_datadb_type": "mongo",
|
|
"out_datadb_port": "27017",
|
|
"out_datadb_name": "10",
|
|
"users_filters":["Account"],
|
|
},
|
|
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
}
|