February 2019
Intermediate to advanced
240 pages
5h 25m
English
So we want our Rails app to talk to Redis, huh? Well, first we’re going to need a Redis server that our application can talk to. As you might expect, we’re not going to install and run Redis on our local machine. Instead, let’s leverage the power of Docker and start a Redis server inside a container.
Ultimately, we want to add Redis as a new service with Compose. However, since this is the first we’ve added, we’re going to take baby steps. We’ll start by seeing how to run Redis in a container using docker run before we circle back to get Compose to do this for us automatically. As you gain more experience and confidence, you’ll be able to skip this first step and jump straight to setting up a service in Compose.
Read now
Unlock full access