Last active
August 17, 2023 10:02
-
-
Save kolotaev/e9c22f8d5d6ce79b2eff43406c2838e3 to your computer and use it in GitHub Desktop.
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: '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