Last active
February 2, 2023 13:07
-
-
Save azanium/40ec31ab2a775053bf6009e16191a42a to your computer and use it in GitHub Desktop.
docker-compose.redis.yml
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' | |
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