Hi and thanks for this image! I found myself needing Redis+RediSearch+Redis JSON+Gears and this image was a godsent.
My only issue is that on my local machine, an M1 Macbook Pro, RedisMod crashes pretty reproducibly, whereas on an Intel Macbook Pro it runs as expected.
I think it has to do with the fact that there's no native ARM build.
Notice the --platform linux/amd64 \ which I have to specify, otherwise I get
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
docker: Error response from daemon: platform linux/arm64/v8 not supported.
The docker-redis.conf looks like this
# Persistence defaults
save 60 5000
# Load necessary modules
loadmodule /usr/lib/redis/modules/rejson.so
loadmodule /usr/lib/redis/modules/redisearch.so
loadmodule /usr/lib/redis/modules/redisgraph.so
loadmodule /usr/lib/redis/modules/redisgears.so Plugin /var/opt/redislabs/modules/rg/plugin/gears_python.so
# Generated by CONFIG REWRITE
protected-mode no
user default on nopass ~* &* +@all
In my application I'm using Redis Gears to add a new property to all my Json documents in Redis (a few hundred documents) and then I'm updating the RedisSearch index to include that field.
It always fails with this error on my M1 Macbook Pro:
Hi and thanks for this image! I found myself needing Redis+RediSearch+Redis JSON+Gears and this image was a godsent.
My only issue is that on my local machine, an M1 Macbook Pro, RedisMod crashes pretty reproducibly, whereas on an Intel Macbook Pro it runs as expected. I think it has to do with the fact that there's no native ARM build.
I'm running it like this
Notice the
--platform linux/amd64 \
which I have to specify, otherwise I getThe
docker-redis.conf
looks like thisIn my application I'm using Redis Gears to add a new property to all my Json documents in Redis (a few hundred documents) and then I'm updating the RedisSearch index to include that field.
It always fails with this error on my M1 Macbook Pro: