Consensys / quorum-dev-quickstart

The Quorum Developer Quickstart utility can be used to rapidly generate local Quorum blockchain networks for development and demo purposes using Besu and GoQuorum
Apache License 2.0
135 stars 101 forks source link

fix: Add Redis dependency to resolve missing service error #290

Open wantaekchoi opened 4 months ago

wantaekchoi commented 4 months ago

Overview

This pull request addresses the issue of missing Redis dependency in the docker-compose.yml file, which was causing errors. The following changes have been made:

  1. Redis Service Addition:

    • Added a new service definition for Redis under x-chainlensredis-ref.
    • Defined the Redis container using the redis image with the container name chainlensredis.
  2. Chainlens API Updates:

    • Included environment variables REDIS_HOST and REDIS_PORT in x-chainlensapi-ref for Redis connectivity.
    • Updated the depends_on section in x-chainlensapi-ref to include chainlensredis.
  3. Chainlens Web Updates:

    • Added WS_API_URL environment variable in x-chainlensweb-ref.
  4. Service Configuration:

    • Added chainlensredis service to the main services section with an assigned IP address in the quorum-dev-quickstart network.

Motivation

This fix ensures that the Chainlens API functions correctly by resolving the error caused by the missing Redis service.

Testing

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.