Files
cgrates/data/conf/samples/cgradmin/cgradmin.json
Radu Ioan Fericean 68392af30a updated dependencies
2016-03-07 17:51:25 +02:00

58 lines
1.6 KiB
JSON

{
// CGRateS Configuration file
//
// Used for cgradmin
// Starts rater, scheduler
"listen": {
"rpc_json": ":2012", // RPC JSON listening address
"rpc_gob": ":2013", // RPC GOB listening address
"http": ":2080", // HTTP listening address
},
//"tariffplan_db": { // database used to store offline tariff plans and CDRs
// "db_type": "mongo", // stor database type to use: <mysql|postgres>
// "db_host": "127.0.0.1", // the host to connect to
// "db_port": 27017, // the port to reach the stordb
// "db_name": "tpdb",
//},
//
//"data_db": { // database used to store offline tariff plans and CDRs
// "db_type": "mongo", // stor database type to use: <mysql|postgres>
// "db_host": "127.0.0.1", // the host to connect to
// "db_port": 27017, // the port to reach the stordb
// "db_name": "datadb",
//},
"stor_db": { // database used to store offline tariff plans and CDRs
"db_type": "mongo", // stor database type to use: <mysql|postgres>
"db_host": "127.0.0.1", // the host to connect to
"db_port": 27017, // the port to reach the stordb
"db_name": "stordb",
},
"rater": {
"enabled": true, // enable Rater service: <true|false>
"pubsubs": "internal",
"users": "internal",
"aliases": "internal",
},
"scheduler": {
"enabled": true, // start Scheduler service: <true|false>
},
"pubsubs": {
"enabled": true, // starts pubsub service: <true|false>.
},
"users": {
"enabled": true, // starts users service: <true|false>.
},
"aliases": {
"enabled": true,
}
}