.. | ||
img | ||
mkdocs | ||
1.15.0.package.json | ||
Dockerfile | ||
README.md | ||
redis.conf | ||
settings.json | ||
supervisord-redis-wid.conf |
Redis workspace
Docker image with Redis, Redis Commander and other Redis CLI tools. Can be used to manage cloud Redis deployments, or as Redis docker image with batteries included for local development.
docker run --name rwid-1 -d -p 8020-8035:8020-8035 alnoda/redis-workspace
open your browser on http://localhost:8020
Why
Substitute in your development docker-compose.yaml
file standard redis image with this one, add port-mapping -p 8020-8035:8020-8035
.
Now in addition to Redis, you've got a whole set of tools with UIs, that allow you to explore you Redis database, get and set keys, import datasets,
install Redis modules and more.
List of tools
in addition - the common workspace-in-docker toolset.
Get started
Open workspace UI http://localhost:800/ for quick access to all the tools
Use workspace terminal http://localhost:8026/ and load some Redis datasets
git clone https://github.com/redis-developer/redis-datasets.git /home/project/redis-datasets
cat /home/project/redis-datasets/movie-database/import_actors.redis | redis-cli
cat /home/project/redis-datasets/movie-database/import_movies.redis | redis-cli
Open Redis Commander UI on http://localhost:8029/ and explore Redis databases
Alternatively use browser-based VS-code http://localhost:8025/ with Redis extension
In the Workspace terminal launch iredis CLI, get & set keys
iredis
iredis --newbie
Create dump of the Redis database
redis-dump-go -h localhost > /home/redis-movie-dump.resp
Use File Browser http://localhost:8021 to get the dump to your PC