This can be set as an environment variable as above with the RDS info. There's a more complex way to detect Elasticache instances and use them, but I don't think we need to do that here.