mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
{
|
|
|
|
"general": {
|
|
"reply_timeout": "50s"
|
|
},
|
|
|
|
"logger": {
|
|
"level": 7
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012",
|
|
"rpc_gob": ":2013",
|
|
"http": ":2080"
|
|
},
|
|
|
|
"db": {
|
|
"db_conns": {
|
|
"*default": {
|
|
"db_type": "redis",
|
|
"db_host": "127.0.0.1",
|
|
"db_port": 6379,
|
|
"db_name": "10",
|
|
"db_user": "cgrates"
|
|
},
|
|
"StorDB": { // The id of the DB connection
|
|
"db_type": "postgres", // db type: <internal|redis|mysql|mongo|postgres>
|
|
"db_host": "127.0.0.1",
|
|
"db_port": 5432, // db port to reach the database
|
|
"db_name": "cgrates", // the host to connect to
|
|
"db_user": "cgrates",
|
|
"db_password": "CGRateS.org" // password to use when connecting to the database
|
|
},
|
|
},
|
|
"items": {
|
|
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"},
|
|
"*charger_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
|
|
}
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"]
|
|
},
|
|
|
|
"admins": {
|
|
"enabled": true
|
|
}
|
|
|
|
} |