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)%'