Created
January 25, 2025 06:09
-
-
Save Rizwan-Hasan/fd1bcd333b96dc83fe3bbbc12acc300d to your computer and use it in GitHub Desktop.
A docker compose file for spinning up redis with redisinsight
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: redis-redisinsight | |
services: | |
redis: | |
image: redis | |
ports: | |
- target: 6379 | |
published: "6379" | |
protocol: tcp | |
restart: unless-stopped | |
volumes: | |
- type: bind | |
source: ./redis-redisinsight/redis/data | |
target: /data | |
- type: bind | |
source: ./redis-redisinsight/redis/config | |
target: /usr/local/etc/redis | |
privileged: false | |
container_name: "redis" | |
hostname: "redis" | |
redisinsight: | |
image: redis/redisinsight:latest | |
volumes: | |
- type: bind | |
source: ./redis-redisinsight/redisinsight/data | |
target: /data | |
ports: | |
- target: 5540 | |
published: "5540" | |
protocol: tcp | |
privileged: false | |
container_name: redisinsight | |
hostname: "redisinsight" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment