Redis is used by Evolution API v2 as a caching system to optimize the application’s performance and speed. It can be configured to store temporary information and improve operational efficiency.
The easiest and fastest way to set up Redis for Evolution API v2 is through Docker. Below are the instructions to configure Redis using Docker Compose.
To set up Redis via Docker, follow these steps:
docker-compose.yaml
file for Redis available here.localhost
on port 6379
.After setting up Redis, define the following environment variables in your .env
file:
If you prefer to set up Redis locally without using Docker, follow the instructions below:
If everything is working correctly, you will see the response PONG
.
After installing and configuring Redis, the next step is to configure caching in Evolution API v2 using environment variables. This will enable the API to use Redis to cache important data and improve the overall performance of the application.
Redis is used by Evolution API v2 as a caching system to optimize the application’s performance and speed. It can be configured to store temporary information and improve operational efficiency.
The easiest and fastest way to set up Redis for Evolution API v2 is through Docker. Below are the instructions to configure Redis using Docker Compose.
To set up Redis via Docker, follow these steps:
docker-compose.yaml
file for Redis available here.localhost
on port 6379
.After setting up Redis, define the following environment variables in your .env
file:
If you prefer to set up Redis locally without using Docker, follow the instructions below:
If everything is working correctly, you will see the response PONG
.
After installing and configuring Redis, the next step is to configure caching in Evolution API v2 using environment variables. This will enable the API to use Redis to cache important data and improve the overall performance of the application.