Files
cgrates/data/conf/samples/apier_mongo/apier.json
2021-04-13 13:35:03 +02:00

88 lines
1.2 KiB
JSON

{
// CGRateS Configuration file
//
// Used in apier_local_tests
// Starts rater, cdrs and mediator connecting over internal channel
"general": {
"log_level": 7,
"poster_attempts": 1,
},
"listen": {
"rpc_json": ":2012", // RPC JSON listening address
"rpc_gob": ":2013", // RPC GOB listening address
"http": ":2080", // HTTP listening address
},
"data_db": {
"db_type": "*mongo",
"db_name": "10",
"db_port": 27017,
},
"stor_db": {
"db_type": "*mongo",
"db_name": "cgrates",
"db_port": 27017,
},
"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>
"chargers_conns":["*internal"],
"rals_conns": ["*internal"],
},
"attributes": { // Attribute service
"enabled": true, // starts Attribute service: <true|false>.
},
"resources": {
"enabled": true,
},
"stats": {
"enabled": true,
},
"thresholds": {
"enabled": true,
},
"chargers": {
"enabled": true,
},
"routes": {
"enabled": true,
},
"admins": {
"enabled": true,
"scheduler_conns": ["*internal"],
},
}