crazy-max/docker-nextcloud

Redis version

Amplificator opened this issue · 2 comments

Hi.

Is it safe to set the Redis docker image to use the latest alpine image which is redis:7-alpine or is there a specific reason for the old image being used, perhaps incompability?

I also set mariadb to the latest image supported by Nextcloud which is mariadb:10.5 and that seems to work fine.

It depends of the Redis PHP extension which is today in this image the 5.3.6 release which supports Redis 6 and should support Redis 7. See phpredis/phpredis#2068 (comment). But you're right, I will pin to Redis 6 in our examples.

I have done a test with updated versions of all the software needed for a full Nextcloud experience, including (shared) document editing and proper support for Nextcloud Talk using a TURN server.

I have tested and verified the following to not produce any errors:
traefik:latest
mariadb:10.5 (which is the latest version officially supported by Nextcloud)
redis:alpine (alpine is an image of the latest redis version, currently version 7, running on alpine linux. Verified to work using docker exec <container id> redis-cli monitor)
collabora/code:latest (server for Nextcloud Office document editing)
foxcris/docker-coturn:latest (TURN server for NextCloud Talk)

The only images that should matter is, like you said, redis due to PHP extension support and also mariadb due to a requirement from Nextcloud themselves.
traefik, collabora and coturn is just a matter of setting it up to fit ones needs.