adding redis example
This commit is contained in:
parent
37c8ed78b8
commit
90db1248cd
2 changed files with 11 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,7 +12,7 @@ tmp
|
||||||
## ENV Vars ##
|
## ENV Vars ##
|
||||||
.env
|
.env
|
||||||
config/client_google_auth.json
|
config/client_google_auth.json
|
||||||
redis
|
redis.conf
|
||||||
|
|
||||||
## Docker ##
|
## Docker ##
|
||||||
build_image.sh
|
build_image.sh
|
||||||
|
|
10
redis/redis.conf.example
Normal file
10
redis/redis.conf.example
Normal 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
|
Loading…
Reference in a new issue