Closed Xmaxer closed 11 months ago
This repo is for the redis
image. We do not maintain the redis/redis-stack-server
images. It looks like that is over in https://github.com/redis-stack/redis-stack.
Their entypoint seems to set a dir for the data. But I'd point out that your command:
is overriding their entrypoint script, since they set it as CMD
not ENTRYPOINT
, so unless you set dir
in your config, it would not be set and default to the working directory (/
since they don't set anything in their Dockerfile).
I have a docker-compose definition that looks like this:
Where the
redis_objects_db_data
is actually a NFS volume, so it's not on the local machine.Everything seems fine on the Redis side, no errors. The logs look like this:
Problem is, when I enter my docker container to inspect where the files are going, here is the result:
As you can see, the
dump.rdb
andappendonlydir
files/directorties are in the root folder. And the data folder is completely empty.Is there any ideas as to what's going on? I have other systems/databases running that use a similar NFS setup and they work and persist their data just fine.