mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
92 lines
2.6 KiB
JSON
92 lines
2.6 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
"reply_timeout": "30s",
|
|
},
|
|
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012",
|
|
"rpc_gob": ":2013",
|
|
"http": ":2080",
|
|
},
|
|
|
|
|
|
"data_db": {
|
|
"db_type": "mongo",
|
|
"db_name": "10",
|
|
"db_port": 27017,
|
|
},
|
|
|
|
|
|
"stor_db": {
|
|
"db_type": "mongo",
|
|
"db_name": "cgrates",
|
|
"db_port": 27017,
|
|
},
|
|
|
|
|
|
"cache":{
|
|
"destinations": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"reverse_destinations": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"rating_plans": {"limit": 10000, "ttl":"0s","precache": true},
|
|
"rating_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"actions": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"action_plans": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"account_action_plans": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"action_triggers": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"shared_groups": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"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},
|
|
"supplier_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},
|
|
"supplier_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},
|
|
"dispatcher_profiles" : {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"dispatcher_hosts" : {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"dispatcher_routes" : {"limit": 10000, "ttl":"0s", "precache": true},
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"scheduler": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"migrator": {
|
|
"out_datadb_type": "mongo",
|
|
"out_datadb_port": "27017",
|
|
"out_datadb_name": "10",
|
|
"out_stordb_type": "mongo",
|
|
"out_stordb_port": "27017",
|
|
"out_stordb_name": "cgrates",
|
|
"users_filters":["Account"],
|
|
},
|
|
|
|
|
|
"apier": {
|
|
"scheduler_conns": [ // connections to SchedulerS for reloads
|
|
{"address": "*internal"},
|
|
],
|
|
},
|
|
|
|
|
|
}
|