diff --git a/.gitignore b/.gitignore index 2c0d4a9..dfd172e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ tmp ## ENV Vars ## .env config/client_google_auth.json -redis +redis.conf ## Docker ## build_image.sh diff --git a/redis/redis.conf.example b/redis/redis.conf.example new file mode 100644 index 0000000..e1c993b --- /dev/null +++ b/redis/redis.conf.example @@ -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 \ No newline at end of file