fix: Add Redis dependency to resolve missing service error #290
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:Redis Service Addition:
x-chainlensredis-ref
.redis
image with the container namechainlensredis
.Chainlens API Updates:
REDIS_HOST
andREDIS_PORT
inx-chainlensapi-ref
for Redis connectivity.depends_on
section inx-chainlensapi-ref
to includechainlensredis
.Chainlens Web Updates:
WS_API_URL
environment variable inx-chainlensweb-ref
.Service Configuration:
chainlensredis
service to the mainservices
section with an assigned IP address in thequorum-dev-quickstart
network.Motivation
This fix ensures that the Chainlens API functions correctly by resolving the error caused by the missing Redis service.
Testing
docker-compose
setup runs successfully with the new Redis service.