-
-
Save ualmtorres/102a65abc4fea2f3929b48d6803a6b87 to your computer and use it in GitHub Desktop.
docker-compose file for Redis and Redis commander
This file contains 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
version: "3.7" | |
services: | |
redis: | |
image: redis:latest | |
ports: | |
- 6379:6379 | |
command: ["redis-server", "--appendonly", "yes"] | |
volumes: | |
- redis-data:/data | |
redis-commander: | |
image: rediscommander/redis-commander:latest | |
environment: | |
- REDIS_HOSTS=local:redis:6379 | |
- HTTP_USER=root | |
- HTTP_PASSWORD=qwerty | |
ports: | |
- 8081:8081 | |
depends_on: | |
- redis | |
volumes: | |
redis-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment