mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
65 lines
1.2 KiB
JSON
65 lines
1.2 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
|
|
},
|
|
|
|
"stor_db": {
|
|
"db_type": "postgres", // stor database type to use: <mysql|postgres>
|
|
"db_port": 5432, // the port to reach the stordb
|
|
},
|
|
|
|
"rals": {
|
|
"enabled": true, // enable Rater service: <true|false>
|
|
"cdrstats_conns": [
|
|
{"address": "*internal"}
|
|
],
|
|
"pubsubs_conns": [
|
|
{"address": "*internal"}
|
|
],
|
|
"users_conns": [
|
|
{"address": "*internal"}
|
|
],
|
|
"aliases_conns": [
|
|
{"address": "*internal"}
|
|
],
|
|
},
|
|
|
|
"scheduler": {
|
|
"enabled": true, // start Scheduler service: <true|false>
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
"cdrstats_conns": [
|
|
{"address": "*internal"}
|
|
],
|
|
},
|
|
|
|
"cdrstats": {
|
|
"enabled": true, // starts the cdrstats service: <true|false>
|
|
},
|
|
|
|
"pubsubs": {
|
|
"enabled": true, // starts PubSub service: <true|false>.
|
|
},
|
|
|
|
|
|
"users": {
|
|
"enabled": true, // starts User service: <true|false>.
|
|
"indexes": ["Uuid"], // user profile field indexes
|
|
},
|
|
|
|
"aliases": {
|
|
"enabled": true, // starts Aliases service: <true|false>.
|
|
},
|
|
|
|
|
|
}
|