Skip to content
You are reading Codefi Orchestrate development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

Connect Redis cache

Codefi Orchestrate uses Redis as cache system for Nonce management. Follow these steps to configure it when starting the Orchestrate Transaction Sender.

Tip

Configure each microservice using microservice-specific environment variables. Command line options are also available and take precedence over environment variables.

Configuration

Environment Variable Command line option Description Default
REDIS_HOST redis-host URL of the Redis server localhost
REDIS_PORT redis-port Port of the Redis server 6379
REDIS_USER redis-user Redis username
REDIS_PASSWORD redis-password Redis password
REDIS_DATABASE redis-database Target Redis database name -1

SSL/TLS Configuration

In addition to the options above, follow these steps to configure Redis over TLS communication.

Environment Variable Command line option Description Default
REDIS_TLS_ENABLE redis-tls-enable Whether or not to use TLS communication with Redis server false
REDIS_TLS_CERT redis-tls-cert TLS certificate
REDIS_TLS_KEY redis-tls-key TLS Private Key
REDIS_TLS_CA redis-tls-ca Trusted Certificate Authority
REDIS_TLS_SKIP_VERIFY redis-tls-skip-verify Whether the client verifies the server’s certificate false

When using TLS communication in production, it is not recommended to set redis-tls-skip-verify to true as that will open a breach to man-in-the-middle attacks.

ConsenSys has acquired Quorum from J.P. Morgan. Please read the FAQ.
Questions or feedback? You can obtain paid professional support by Consensys at orchestrate@consensys.net