-
-
Save nextwebb/bd49876ae3edc07f1e6198e79a21a632 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: '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