Docker redis comprehensive problem!

Article From:https://segmentfault.com/q/1010000011133220

Question:

Just after learning docker for a long time, in the docker configuration of 3 redis from the cluster, and then there is sentinel mode. But now if I’m using this in my project, how should I manage it, or that all redis deployed now only have docksR, what should you think about the use of redis clusters on host computers? Because I didn’t think about being able to give me a hint.

Answer 0:

RedisMount to the host, so even if your container dry, then re – mount it, the best master and slave on the two different servers to prevent the server from collapse, and then the other is not different from the conventional practice, how to use how to use. Oh, there are ports that bind IP access to intranet, which is not open to the public.