Last active
February 2, 2023 13:07
docker-compose.redis.yml
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: '3' | |
services: | |
cache: | |
image: redis:6.2-alpine | |
restart: always | |
ports: | |
- '6379:6379' | |
command: redis-server --save 20 1 --loglevel warning --requirepass eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81 | |
volumes: | |
- cache:/data | |
volumes: | |
cache: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment