Files
2025-10-19 13:15:57 +02:00

50 lines
1.2 KiB
JSON

{
// CGRateS Configuration file
// will be used in apis/actions_it_test.go
"logger": {
"level": 7
},
"db": {
"db_conns": {
"*default": {
"db_type": "mongo",
"db_name": "10",
"db_port": 27017,
},
"StorDB": { // The id of the DB connection
"db_type": "mongo", // db type: <internal|redis|mysql|mongo|postgres>
"db_host": "127.0.0.1",
"db_port": 27017, // db port to reach the database
"db_name": "cgrates", // the host to connect to
"db_user": "cgrates",
},
},
"items": {
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
}
},
"actions": {
"enabled": true,
"thresholds_conns": ["*internal"],
"stats_conns": ["*internal"],
},
"stats": {
"enabled": true,
"store_interval": "-1",
"thresholds_conns": ["*internal"],
},
"thresholds": {
"enabled": true,
"store_interval": "-1",
"actions_conns": ["*internal"],
},
"admins": {
"enabled": true,
}
}