Redis for severel nextcloud instances on one server?

Hello all !
how can I use Redis Caching and locking for several Nextcolud instances on one server ?
Can redis in itself decide to which nextcloud instance it is talking or do I need some special configuration ?

Thanks in advance !

Norbert