Created
May 31, 2020 13:32
-
-
Save enesusta/4c9e6e674404acbd223a248862d8d15b to your computer and use it in GitHub Desktop.
Redis compose file
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: '3.1' | |
services: | |
redis: | |
container_name: redis_container | |
image: redis | |
restart: always | |
command: redis-server --requirepass secret | |
ports: | |
- '6379:6379' | |
volumes: | |
- my-redis:/data | |
volumes: | |
my-redis: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment