mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 22:29:55 +05:00
45 lines
816 B
JSON
45 lines
816 B
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used for multiple RAL configuration tests
|
|
// Starts rater, scheduler
|
|
|
|
"general": {
|
|
"node_id":"node1",
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012", // RPC JSON listening address
|
|
"rpc_gob": ":2013", // RPC GOB listening address
|
|
"http": ":2080", // HTTP listening address
|
|
},
|
|
|
|
"db": {
|
|
"db_conns": {
|
|
"*default": {
|
|
"db_type": "redis",
|
|
"db_host": "127.0.0.1",
|
|
"db_port": 6379,
|
|
"db_name": "10",
|
|
"db_user": "cgrates"
|
|
},
|
|
"StorDB": {
|
|
"db_type": "mysql",
|
|
"db_host": "127.0.0.1",
|
|
"db_port": 3306,
|
|
"db_name": "cgrates",
|
|
"db_user": "cgrates",
|
|
"db_password": "CGRateS.org"
|
|
}
|
|
},
|
|
"items": {
|
|
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
|
|
}
|
|
},
|
|
|
|
"rates": {
|
|
"enabled": true,
|
|
},
|
|
|
|
}
|