mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
61 lines
1.1 KiB
JSON
61 lines
1.1 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used in tests
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
},
|
|
|
|
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
|
|
"db_type": "mongo", // stor database type to use: <mysql|postgres>
|
|
"db_port": 27017, // the port to reach the stordb
|
|
"db_name": "datadb",
|
|
"db_password": "",
|
|
},
|
|
|
|
"stor_db": {
|
|
"db_type": "mongo", // stor database type to use: <mysql|postgres>
|
|
"db_port": 27017, // the port to reach the stordb
|
|
"db_name": "stordb",
|
|
"db_password": "",
|
|
},
|
|
|
|
"rals": {
|
|
"enabled": true, // enable Rater service: <true|false>
|
|
},
|
|
|
|
"schedulers": {
|
|
"enabled": true, // start Scheduler service: <true|false>
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
},
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"debit_interval": "1ms", // interval to perform debits on.
|
|
"rals_conns": ["*internal"],
|
|
"cdrs_conns": ["*internal"],
|
|
"chargers_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
}
|