Forked from kolotaev/redis-docker-compose.yaml
Last active
February 26, 2021 11:27
-
-
Save miaguicam7/79a1cc3838bc7d06e9aa12c00d0f9ce3 to your computer and use it in GitHub Desktop.
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