Last active
April 8, 2021 07:29
-
-
Save martea/23c12cc4d6f63b6d0718eb4b874b990f to your computer and use it in GitHub Desktop.
docker compose redis & commander
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
version: '3' | |
services: | |
redis: | |
container_name: redis | |
hostname: redis | |
image: redis | |
ports: | |
- "6379:6379" | |
redis-commander: | |
container_name: redis-commander | |
hostname: redis-commander | |
image: rediscommander/redis-commander:latest | |
restart: always | |
environment: | |
- REDIS_HOSTS=local:redis:6379 | |
ports: | |
- "8081:8081" |
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
docker-compose up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment