From 8f3093e5ec7b0c29a869d30954a8469d68993414 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sat, 2 Feb 2019 13:59:47 -0500 Subject: [PATCH] Quick & Dirty Redis Setup --- templates/Nextcloud/0/README.md | 6 ++++++ templates/Nextcloud/0/redis.config.php | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 templates/Nextcloud/0/redis.config.php diff --git a/templates/Nextcloud/0/README.md b/templates/Nextcloud/0/README.md index 6a42d1f..013726b 100644 --- a/templates/Nextcloud/0/README.md +++ b/templates/Nextcloud/0/README.md @@ -8,6 +8,12 @@ * [Official Security Check](https://scan.nextcloud.com/) +## Easy Redis Setup + +Copy the "redis.config.php" file into your Configuration directory. +You may need to restart your stack for it to pick up. +You can monitor if it is working by opening a shell terminal on your Redis container and using `redis-cli MONITOR` + ## To-Do's * Explain how to manually setup Redis diff --git a/templates/Nextcloud/0/redis.config.php b/templates/Nextcloud/0/redis.config.php new file mode 100644 index 0000000..56e831a --- /dev/null +++ b/templates/Nextcloud/0/redis.config.php @@ -0,0 +1,8 @@ + '\OC\Memcache\Redis', + 'redis' => array( + 'host' => 'redis', + 'port' => 6379, + ), +); \ No newline at end of file