File tree Expand file tree Collapse file tree 4 files changed +9
-38
lines changed
Expand file tree Collapse file tree 4 files changed +9
-38
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
1212 - .:/var/www
1313
1414 php :
15- image : prooph/ php:7.4-fpm
15+ build : ./env/ php
1616 volumes :
1717 - .:/var/www
1818 env_file :
Original file line number Diff line number Diff line change 1+ FROM prooph/php:7.4-fpm
2+
3+ # Add php-ext-amqp
4+ RUN apk add --no-cache --no-progress --virtual BUILD_DEPS_PHP_AMQP rabbitmq-c-dev \
5+ && apk add --no-cache --no-progress rabbitmq-c \
6+ && apk add --no-cache git autoconf automake gawk build-base \
7+ && pecl install amqp \
8+ && docker-php-ext-enable amqp
Original file line number Diff line number Diff line change 1414use Laminas \Stratigility \MiddlewarePipe ;
1515use Mezzio \Helper \BodyParams \BodyParamsMiddleware ;
1616use Mezzio \ProblemDetails \ProblemDetailsMiddleware ;
17- use MyService \Http \CorsMiddleware ;
1817use MyService \Http \OriginalUriMiddleware ;
1918use Psr \Http \Message \ServerRequestInterface as Request ;
2019use Psr \Http \Message \ResponseInterface as Response ;
3736
3837$ app ->pipe ($ container ->get (ProblemDetailsMiddleware::class));
3938
40- // CORS middleware ensures that cockpit can access the Event Engine backend, since it runs on another port
41- $ app ->pipe (new CorsMiddleware ());
42-
4339$ app ->pipe (new BodyParamsMiddleware ());
4440
4541$ app ->pipe (new OriginalUriMiddleware ());
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments