From c413acd6a6ca2e970e8842bc7bfa2324de111070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Tue, 11 Jan 2022 16:49:13 +0100 Subject: [PATCH] ln --- .drone.yml | 2 +- backend/composer.lock | 5 +++-- backend/config/services.yaml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8db8d20..320a4fc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,7 +6,7 @@ steps: - name: backend image: composer:2.1.14 commands: - - cd backend && composer install && composer dump-autoload --classmap-authoritative && composer dump-env prod + - ln -s /drone/src /var/www && cd /var/www/backend && composer install && composer dump-autoload --classmap-authoritative && composer dump-env prod - name: frontend image: node:16.13.1-alpine diff --git a/backend/composer.lock b/backend/composer.lock index 4d0055d..335ac96 100644 --- a/backend/composer.lock +++ b/backend/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": "1231c51ce4f96688b51ec516139c3e84", + "content-hash": "b6264c0532b682141c3364cef8ce2aad", "packages": [ { "name": "doctrine/annotations", @@ -3353,7 +3353,8 @@ "platform": { "php": ">=8.0.2", "ext-ctype": "*", - "ext-iconv": "*" + "ext-iconv": "*", + "ext-redis": "*" }, "platform-dev": [], "plugin-api-version": "2.1.0" diff --git a/backend/config/services.yaml b/backend/config/services.yaml index 92b4062..6a9d5dc 100644 --- a/backend/config/services.yaml +++ b/backend/config/services.yaml @@ -26,7 +26,7 @@ services: Redis: # you can also use \RedisArray, \RedisCluster or \Predis\Client classes - class: \Redis + class: Redis calls: - connect: - '%env(REDIS_HOST)%'