diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 12d491a863abe0263ed610ccc8b4a29df26d0523..98c03925ba20a1d30102f2d12918ffb691bcd5de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ variables: DOCKER_HOST: "tcp://docker-dind.gitlab:2375" + AUTO_DEVOPS_BUILD_IMAGE_EXTRA_ARGS: "--network host" POSTGRES_ENABLED: "false" CODE_QUALITY_DISABLED: "true" CONTAINER_SCANNING_DISABLED: "true" diff --git a/composer.json b/composer.json index 90bfd5f58f6dd08d220e13cce5d17333982c7bbb..2f226d4725f83c9a6b08fd8488c71ef51ece476e 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,7 @@ "laravel/tinker": "^1.0", "mcamara/laravel-localization": "^1.3", "mews/captcha": "^2.2", + "monospice/laravel-redis-sentinel-drivers": "^2.6", "predis/predis": "^1.1", "symfony/dom-crawler": "^4.1" }, @@ -66,4 +67,4 @@ "@php artisan key:generate --ansi" ] } -} \ No newline at end of file +} diff --git a/config/cache.php b/config/cache.php index 07832a57384de8d4a3af55e0fcc947615b6672af..6138e970a063774c061b339b99c7dd925f098ada 100644 --- a/config/cache.php +++ b/config/cache.php @@ -69,7 +69,7 @@ return [ ], 'redis' => [ - 'driver' => 'redis', + 'driver' => env('REDIS_CACHE_DRIVER', 'redis'), 'connection' => 'cache', ],