Skip to content

Instantly share code, notes, and snippets.

@guaracyalima
Last active November 13, 2024 04:34
Show Gist options
  • Save guaracyalima/c92ac092c4364e9630b257ee75b1fe6c to your computer and use it in GitHub Desktop.
Save guaracyalima/c92ac092c4364e9630b257ee75b1fe6c to your computer and use it in GitHub Desktop.
version: '3'
services:
redis:
image: redis:6.2-alpine
container_name: redis
ports:
- "6379:6379"
environment:
- REDIS_PASSWORD=123456
volumes:
- redis_data:/data
redis-commander:
image: ghcr.io/joeferner/redis-commander:latest
container_name: redis-commander
ports:
- "8081:8081"
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_PASSWORD=123456
depends_on:
- redis
volumes:
redis_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment