{ // 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 }, "data_db": { // database used to store runtime data (eg: accounts, cdr stats) "db_type": "redis", // data_db type: "db_port": 6379, // data_db port to reach the database "db_name": "10", // data_db database name to connect to }, "stor_db": { "db_type": "postgres", // stor database type to use: "db_port": 5432, // the port to reach the stordb "db_password": "CGRateS.org", }, "rals": { "enabled": true, "thresholds_conns": [ {"address": "*internal"} ], }, "scheduler": { "enabled": true, // start Scheduler service: }, "cdrs": { "enabled": true, // start the CDR Server service: }, "users": { "enabled": true, "indexes": ["Uuid"], }, "resources": { "enabled": true, "store_interval": "1s", "thresholds_conns": [ {"address": "*internal"} ], }, "stats": { "enabled": true, "store_interval": "1s", "thresholds_conns": [ {"address": "*internal"} ], }, "thresholds": { "enabled": true, "store_interval": "1s", }, "attributes": { "enabled": true, }, "suppliers": { "enabled": true, }, "chargers": { "enabled": true, "attributes_conns": [ {"address": "*internal"} ], }, "sessions": { "enabled": true, "chargers_conns": [ {"address": "*internal"} ], "rals_conns": [ {"address": "*internal"} ], "cdrs_conns": [ {"address": "*internal"} ], }, "apier": { "scheduler_conns": [ // connections to SchedulerS for reloads {"address": "*internal"}, ], }, }