Skip to content

Instantly share code, notes, and snippets.

@kolotaev
Last active August 17, 2023 10:02
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save kolotaev/e9c22f8d5d6ce79b2eff43406c2838e3 to your computer and use it in GitHub Desktop.
Save kolotaev/e9c22f8d5d6ce79b2eff43406c2838e3 to your computer and use it in GitHub Desktop.
version: '2'
services:
redis:
image: redis:alpine
container_name: redis_db
command: redis-server --appendonly yes
ports:
- 6379:6379
volumes:
- ./data:/data
restart: always
networks:
- redis_net
idp:
depends_on:
- redis
image: tenstartups/redis-commander
container_name: redis_comndr
command: --redis-host redis
ports:
- 8081:8081
links:
- redis:redis
restart: always
networks:
- redis_net
networks:
redis_net:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment