feat: allow redis transport

This commit is contained in:
Maël Gangloff 2024-08-22 22:03:04 +02:00
parent 52efac8493
commit 030337e2ce
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
4 changed files with 71 additions and 2 deletions

View File

@ -83,6 +83,7 @@ COPY --link frankenphp/worker.Caddyfile /etc/caddy/worker.Caddyfile
# prevent the reinstallation of vendors at every changes in the source code
COPY --link composer.* symfony.* ./
RUN set -eux; \
install-php-extensions redis; \
composer install --no-cache --prefer-dist --no-dev --no-autoloader --no-scripts --no-progress
# copy sources

View File

@ -63,6 +63,7 @@
"symfony/property-access": "7.1.*",
"symfony/property-info": "7.1.*",
"symfony/rate-limiter": "7.1.*",
"symfony/redis-messenger": "7.1.*",
"symfony/rocket-chat-notifier": "7.1.*",
"symfony/runtime": "7.1.*",
"symfony/scheduler": "7.1.*",

69
composer.lock generated
View File

@ -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": "083beb16a31ddb88f798736f50894a76",
"content-hash": "c99e351194c8053498e762ed4dac4864",
"packages": [
{
"name": "api-platform/core",
@ -7595,6 +7595,73 @@
],
"time": "2024-05-31T14:57:53+00:00"
},
{
"name": "symfony/redis-messenger",
"version": "v7.1.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/redis-messenger.git",
"reference": "0e13be260a411afbe14f77df45728a23ffb50e7d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/redis-messenger/zipball/0e13be260a411afbe14f77df45728a23ffb50e7d",
"reference": "0e13be260a411afbe14f77df45728a23ffb50e7d",
"shasum": ""
},
"require": {
"ext-redis": "*",
"php": ">=8.2",
"symfony/messenger": "^6.4|^7.0"
},
"require-dev": {
"symfony/property-access": "^6.4|^7.0",
"symfony/serializer": "^6.4|^7.0"
},
"type": "symfony-messenger-bridge",
"autoload": {
"psr-4": {
"Symfony\\Component\\Messenger\\Bridge\\Redis\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Redis extension Messenger Bridge",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/redis-messenger/tree/v7.1.3"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2024-07-17T06:10:24+00:00"
},
{
"name": "symfony/rocket-chat-notifier",
"version": "v7.1.1",

View File

@ -4,7 +4,7 @@ framework:
#csrf_protection: true
# Note that the session will be started ONLY if you read or write from it.
session: true
session: false
#esi: true
#fragments: true