diff --git a/layer-api/infra/development/redis.conf b/layer-api/infra/development/redis.conf new file mode 100644 index 00000000..21c696c5 --- /dev/null +++ b/layer-api/infra/development/redis.conf @@ -0,0 +1,20 @@ +# Save the DB snapshot every 180 seconds if at least 1 key changes +save 180 1 + +# Specify the filename for the RDB file +dbfilename dump.rdb + +# Directory where the RDB snapshot will be saved +dir /data + +# Enable RDB snapshot logging (optional for debugging) +loglevel notice + +# Disable AOF (if you want only RDB persistence) +appendonly no + +# Compression for RDB files (enabled by default) +rdbcompression yes + +# Checksum verification for RDB files (enabled by default) +rdbchecksum yes