MRE-Microservice Environment Variables
Following are the environment variables used in the mre-microservice
service.
Config Parameter | Expected Value | Notes |
---|---|---|
PORT | 8443 | Port where mre-microservice is hosted |
HTTP_PORT | 8080 | |
DBURL | mongo | This is the URL of Mongo service |
DB_PORT | 27017 | Mongo default port |
DBNAME | chatsolution | The value MONGODB_DATABASE parameter in Mongo service |
DB_USER | dbconnector | The value of MONGODB_USER parameter in Mongo service |
DB_Password | Expertflow464 | The value MONGODB_PASSWORD parameter in Mongo service |
DB_RECONNECT_INTERVAL | 500 | Reconnect interval if database connection is lost |
DB_RECONNECT_TRIES | 30 | Number of database reconnect retries |
DB_KEEP_ALIVE_TIME | 3000 | Time of keep alives between database and connector |
ENABLE_MONGO_SSL | true/false | |
MONGO_SSL_CERT_PATH | https/mongo_cert.pem | |
ALLOW_CORS | true/false | Allow cross origin requests |
ENABLE_LOGS | true/false | Enable logging |
ENABLE_CONFIGS | true/false | Enable configuration |
LOG_FILE_PATH | mre-microservice.log | Log file path |
LOG_LEVEL | trace | |
UMM | or | Internal URL of UMM service |
UMM_USERNAME | admin | Mre-microservice needs administration role in UMM |
UMM_PWD | admiN123! | Password of administrator account if changed |
USER_TYPE | CC/DB | This value should be same as mre USER_TYPE parameter in every deployment. Use CC type if solution is being used in integration with Contact Center, DB otherwise |
AMQ_HOST | activemq | ActiveMQ host fqdn |
AMQ_PORT | 61613 | Stomp protocol supports 61613 by default |
AMQ_PASS | admin | |
AMQ_USER | admin | |
AMQ_SSL_ENABLED | true/false | ActiveMQ SSL traffic |
AMQ_SSL_KEY_PATH | https/client.key | ActiveMQ SSL key path |
AMQ_SSL_CERT_PATH | https/client.pem | ActiveMQ SSL certificate path |
AMQ_SSL_PASSPHRASE | password | ActiveMQ SSL certificate passphrase |
AMQ_SSL_CERT_AUTHORITY_PATH | https/broker.pem | ActiveMQ Certificate Authority path |
AMQ_QUEUE | MreMicroservice | Queue where MRE-Microservice listens to configuration updates, Do Not Change |
AMQ_RETRIES | 9999999 | |
RE_QUEUE_NAME | RoutingEngine | Queue where MRE listens to configuration updates, Do Not Change |
ENABLE_SSL | true/false | Enable microservice via https |
HTTPS_KEY_PATH | https/localhost.key | HTTPS key path |
HTTPS_CERT_PATH | https/localhost.crt | HTTPS certificate path |
PASSPHRASE | expertflow | HTTPS certificate passphrase |
CERT_BUNDLE_PATH | https/mre-microservice.ca-bundle | This ca-bundle contains certificates of umm for https calls |