diff --git a/.env.example b/.env.example index 53f86fd9..e352c68f 100644 --- a/.env.example +++ b/.env.example @@ -24,10 +24,6 @@ SESSION_LIFETIME=120 MEMCACHED_HOST=127.0.0.1 -REDIS_HOST=127.0.0.1 -REDIS_PASSWORD=null -REDIS_PORT=6379 - MAIL_MAILER=smtp MAIL_HOST=mailpit MAIL_PORT=1025 @@ -96,3 +92,10 @@ MEILISEARCH_KEY= # LARAVEL SCOUT SCOUT_PREFIX='' SCOUT_QUEUE= + +# REDIS +REDIS_HOST= +REDIS_PORT= +REDIS_USERNAME= +REDIS_PASSWORD= +REDIS_PREFIX= diff --git a/composer.json b/composer.json index 063a70b7..27a1c4a1 100644 --- a/composer.json +++ b/composer.json @@ -31,6 +31,7 @@ "mews/purifier": "^3.4", "mobiledetect/mobiledetectlib": "^4.8", "moneyphp/money": "^4.5", + "predis/predis": "^2.0", "propaganistas/laravel-phone": "^5.3", "sentry/sentry-laravel": "*", "snipe/banbuilder": "^2.3", diff --git a/composer.lock b/composer.lock index 1dfb1b85..baf56b26 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e7decd2630ba2accff59232853f18e2b", + "content-hash": "520c882c785a090ae5177efcd1819563", "packages": [ { "name": "24slides/laravel-saml2", @@ -4965,6 +4965,67 @@ ], "time": "2024-12-14T21:03:54+00:00" }, + { + "name": "predis/predis", + "version": "v2.3.0", + "source": { + "type": "git", + "url": "https://github.com/predis/predis.git", + "reference": "bac46bfdb78cd6e9c7926c697012aae740cb9ec9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/predis/predis/zipball/bac46bfdb78cd6e9c7926c697012aae740cb9ec9", + "reference": "bac46bfdb78cd6e9c7926c697012aae740cb9ec9", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.3", + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^8.0 || ^9.4" + }, + "suggest": { + "ext-relay": "Faster connection with in-memory caching (>=0.6.2)" + }, + "type": "library", + "autoload": { + "psr-4": { + "Predis\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Till Krüss", + "homepage": "https://till.im", + "role": "Maintainer" + } + ], + "description": "A flexible and feature-complete Redis client for PHP.", + "homepage": "http://github.com/predis/predis", + "keywords": [ + "nosql", + "predis", + "redis" + ], + "support": { + "issues": "https://github.com/predis/predis/issues", + "source": "https://github.com/predis/predis/tree/v2.3.0" + }, + "funding": [ + { + "url": "https://github.com/sponsors/tillkruss", + "type": "github" + } + ], + "time": "2024-11-21T20:00:02+00:00" + }, { "name": "propaganistas/laravel-phone", "version": "5.3.3", diff --git a/manifest.yaml b/manifest.yaml index 8abb57b7..8079a0e7 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -47,6 +47,12 @@ data: MEILISEARCH_KEY: "${APP_MEILISEARCH_KEY}" SCOUT_PREFIX: "${APP_SCOUT_PREFIX}" SCOUT_QUEUE: "${APP_SCOUT_QUEUE}" + CACHE_DRIVER: "${APP_CACHE_DRIVER}" + REDIS_HOST: "${APP_REDIS_HOST}" + REDIS_PORT: "${APP_REDIS_PORT}" + REDIS_USERNAME: "${APP_REDIS_USERNAME}" + REDIS_PASSWORD: "${APP_REDIS_PASSWORD}" + REDIS_PREFIX: "${APP_REDIS_PREFIX}" --- apiVersion: v1 kind: PersistentVolumeClaim