adding redis example

This commit is contained in:
Kfir Dayan 2023-04-05 02:52:39 +03:00
parent 37c8ed78b8
commit 90db1248cd
2 changed files with 11 additions and 1 deletions

2
.gitignore vendored
View file

@ -12,7 +12,7 @@ tmp
## ENV Vars ##
.env
config/client_google_auth.json
redis
redis.conf
## Docker ##
build_image.sh

10
redis/redis.conf.example Normal file
View file

@ -0,0 +1,10 @@
# Require clients to authenticate with a password
requirepass mypassword
# Enable AOF persistence
appendonly yes
appendfsync everysec
# Limit the maximum amount of memory used by Redis
maxmemory 256mb
maxmemory-policy allkeys-lru