Category: Redis, Docker

And at that moment the simplest way to achieve this is by creating a docker network. Creating a docker network will enable you to assign static IPs to your individual services mentioned in the compose file.

One of the advantages of Docker containers and services is that they can be connected to each other or to non-Docker workloads.

As you can see the above compose file has MySQL service mentioned, in a similar manner you can change it accordingly to your choice or need.

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox.Explore

Related Articles