Trellis with Redis guidelines

Has anyone here worked with Trellis setups cached by Redis on same machine? The machine profile I’m looking at is a box with 2-4 cores and 6GB+ RAM, the platform is WooCommerce and the database is pretty small for now (50MB).
How can I actually replace memcached with redis in a Trellis project, can anyone from the core team give a guide how he/she creates config files for ansible?

Haven’t done this myself but should be pretty simple. The memcached role is very straightforward: https://github.com/roots/trellis/blob/master/roles/memcached/tasks/main.yml.

You could convert that to a redis role or even just use a pre-made galaxy role: https://github.com/DavidWittman/ansible-redis

2 Likes