Replies: 1 comment 2 replies
-
We primarily use redis as an in-memory buffer and the only data it should write to disk is just in case it needs to reload that data into memory after a crash or shutdown. Since this is really just temporary and transient data, we've never placed it into /nsm. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The so-redis image is configured to have its data in a volume mounted at /data which ends up being a volume in /var/lib/docker/volumes/.../_data/
In my case, that was on a filesystem that wasn't optimal for data storage, and I wanted to put it in /nsm where it seems like it should belong.
I changed it in saltstack/local/redis/init.sls adding a new
- /nsm/redis/data:/data
to the binds: section, which works, but it would probably be better to create a proper docker_volume (state) and connect it to so-redis properly.Beta Was this translation helpful? Give feedback.
All reactions