Use two separate Redis instances in Docker deployment
Created by: mrnugget
This is the follow-up to https://github.com/sourcegraph/sourcegraph/pull/5011
I'm quoting @nicksnyder's comment here, because it's a succint description of the reasoning behind this:
In a server deployment, even if all keys have an expiry, it seems like it is still possible for the instance to fill up if there is no global eviction policy. Given that we have session data which shouldn't be evicted, it seems like the only real solution is to have two separate instances: one without eviction for session data, and one with eviction for a cache. This is exactly what we have for k8s deployments as far as I can tell (https://github.com/sourcegraph/deploy-sourcegraph/tree/master/base/redis), so I think we should do the same thing for our docker deployment.
Not sure who to assign this to, so I added both @sourcegraph/core-services and @sourcegraph/distribution labels.