Skip to content

Instantly share code, notes, and snippets.

@martea
Last active April 8, 2021 07:29
Show Gist options
  • Save martea/23c12cc4d6f63b6d0718eb4b874b990f to your computer and use it in GitHub Desktop.
Save martea/23c12cc4d6f63b6d0718eb4b874b990f to your computer and use it in GitHub Desktop.
docker compose redis & commander
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"
docker-compose up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment