Categories
Redis

An example of Redis persistence using Node.js and Docker Compose

In the previous example we have seen how to manually deploy with Docker a Node.js microservice to interact with Redis.

Now let’s see how to simplify the deploy of this app using Docker Compose.
We will also take the opportunity to see how Redis persistence works.

Categories
Node.js

An example of microservice to interact with Redis using Node.js and Docker

In this really basic example I show how is simple to write a microservice in Node.js to get and set key value pairs on Redis and to deploy them using Docker containers.