{"id":28073531,"url":"https://github.com/rafi021/redis-redisinsight-docker-compose","last_synced_at":"2026-05-08T13:10:14.130Z","repository":{"id":292679920,"uuid":"981539475","full_name":"rafi021/redis-redisinsight-docker-compose","owner":"rafi021","description":"Docker Composer File for Redis, RedisInsight","archived":false,"fork":false,"pushed_at":"2025-05-12T13:17:21.000Z","size":250,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T22:59:41.141Z","etag":null,"topics":["docker","docker-compose","docker-container","redis","redis-client","redis-docker-compose","redis-server","redisinsight"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafi021.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-11T10:47:51.000Z","updated_at":"2025-05-12T13:17:24.000Z","dependencies_parsed_at":"2025-05-11T15:19:05.832Z","dependency_job_id":"0e5c2e3a-207f-42a2-8b7f-c81f8a41c1bb","html_url":"https://github.com/rafi021/redis-redisinsight-docker-compose","commit_stats":null,"previous_names":["rafi021/redis-redisinsight-docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fredis-redisinsight-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fredis-redisinsight-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fredis-redisinsight-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fredis-redisinsight-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafi021","download_url":"https://codeload.github.com/rafi021/redis-redisinsight-docker-compose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837406,"owners_count":21971982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","docker-container","redis","redis-client","redis-docker-compose","redis-server","redisinsight"],"created_at":"2025-05-12T22:59:42.467Z","updated_at":"2026-05-08T13:10:09.083Z","avatar_url":"https://github.com/rafi021.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis and RedisInsight with Docker Compose\n\nThis guide provides instructions to set up Redis and RedisInsight using Docker Compose.\n\n## Prerequisites\n\n- Docker installed on your system.\n- Docker Compose installed.\n\n## Getting Started\n\n1. Clone this repository or navigate to your project directory.\n\n2. Ensure you have the following `redis-docker-compose.yml` file in your directory:\n\n```yaml\nservices:\n  redis:\n    image: redis:alpine\n    container_name: redis\n    restart: unless-stopped\n    ports:\n      - \"6379:6379\"\n    volumes:\n      - redis-data:/data\n    environment:\n      - INSIGHT_WEB_PORT=8001\n    networks:\n      - redis-network\n    command: [\"redis-server\", \"--appendonly\", \"yes\"]\n    healthcheck:\n      test:\n          - CMD\n          - redis-cli\n          - ping\n      retries: 3\n      timeout: 5s\n\n  redisinsight:\n    image: redis/redisinsight:latest\n    container_name: redisinsight\n    restart: unless-stopped\n    environment:\n      - REDIS_HOST=redis\n      - REDIS_PORT=6379\n      - REDISINSIGHT_HOST=0.0.0.0\n      - REDISINSIGHT_ACCEPT_LICENSE=true  # Accept EULA and Privacy Settings\n    ports:\n      - \"5540:5540\"\n    volumes:\n      - redisinsight-data:/db\n    networks:\n      - redis-network\n    depends_on:\n      - redis\n\nvolumes:\n  redis-data:\n    driver: local\n  redisinsight-data:\n    driver: local\n\nnetworks:\n  redis-network:\n    driver: bridge\n```\n\n3. Start the services using the following command:\n\n     ```bash\n     docker compose -f redis-docker-compose.yml up -d --build\n     ```\n\n4. Verify that the containers are running:\n\n     ```bash\n     docker ps\n     ```\n\n## Accessing the Services\n\n- **Redis**: Redis will be available on `localhost:6379`.\n- **RedisInsight**: Open your browser and navigate to `http://localhost:5540` to access the RedisInsight UI. (It will take 5-10 secs to spin up the container. So wait and reload the broswer page if you didn't see the redisinsght page).\n\n\n## RedisInsight Login Page\n\nBelow is an example of the login page:\n\n![RedisInsight Login Page](./initial.png)\n\nCheck \"use recommended settings\" and \"Terms\" and then \"Submit\";\n\nAfter that\n![RedisInsight Add Database ](./step-1.png)\n\nand set the redis url to redis:6379 and hit \"Add Database\"\n\n![RedisInsight Add Database ](./step-2.png)\n![RedisInsight Add Database ](./step-3.png)\n\n## Stopping the Services\n\nTo stop and remove the containers, run:\n\n```bash\ndocker compose -f redis-docker-compose.yml down\n```\n\n## Notes\n\n- The `redis-data` volume ensures that Redis data persists across container restarts.\n- RedisInsight provides a graphical interface to manage and monitor your Redis instances.\n\n## References\n\n- [Redis Documentation](https://redis.io/documentation)\n- [RedisInsight Documentation](https://docs.redis.com/latest/ri/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafi021%2Fredis-redisinsight-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafi021%2Fredis-redisinsight-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafi021%2Fredis-redisinsight-docker-compose/lists"}