I will get redis and redis commander up and running using docker.
Source files can be found here:
https://github.com/ikknd/docker-study in folder recipe-04
Here I do several things:
"] - I start redis in persistent storage mode
- tells redis commander how to connect to redis
- protect redis commander interface with login/password
" - prevents container to start before other container, on which it depends
docker-compose up -d
If I now try
- I will see Redis Commander interface.
I can login using root/qwerty credentials.
volumes: - /var/www/docker-study.loc/recipe-04/docker/redis.conf:/usr/local/etc/redis/redis.conf
command: ["redis-server", "--appendonly", "yes", "/usr/local/etc/redis/redis.conf"]