easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

[Feature Req.] Add support for external redis server

Open brennentsmith opened this issue 11 years ago • 4 comments

Having the ability to attach a external redis server would be great for handling multiserver/geolocated distribution.

Perhaps having a variable within /etc/ee/ee.conf which then maps to upstream redis within the /etc/nginx/conf.d/upstream.conf template?

See https://github.com/rtCamp/easyengine/blob/ddd825bb889db1596699beea97f444d2a83aae6a/ee/cli/plugins/stack.py#L459

brennentsmith avatar Jul 29 '15 18:07 brennentsmith

+1

ahansson89 avatar Jan 29 '16 13:01 ahansson89

+1

I would love to connect to my AWS ElastiCache redis server but I can't seem to find where or how to change the strings in my EE config(s) and I'm afraid I'll break something if I do.

If this is documented, I apologize for not finding it.

MattyLB avatar Feb 07 '16 04:02 MattyLB

Just fyi for anyone confused about this setting. The file mentioned about writes to /etc/nginx/conf.d/upstream.conf

You can edit the upstream redis { server 127.0.0.1:6379; keepalive 10; } section to your external redis server.

ali-husain avatar Jun 28 '16 07:06 ali-husain

Yep. We recommend @ali-husain method. It just one line change so we do not plan to add such thing in EE core at the moment.

rahul286 avatar Jun 02 '18 12:06 rahul286