Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,9 @@ REDIS_PASSWORD=
# Delivery is disabled by default via "null://localhost"
MAILER_URL=null://localhost
###< symfony/swiftmailer-bundle ###

### Symfony Messenger ###
MESSENGER_TRANSPORT_DSN=amqp://admin:admin@rabbitmq:5672/%2f
RABBITMQ_DEFAULT_USER=admin
RABBITMQ_DEFAULT_PASS=admin
### Symfony Messenger ###
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ RUN apt-get update \
libzip-dev \
libicu-dev \
zlib1g-dev \
librabbitmq-dev \
libssh-dev \
libldap-dev \
libxml2-dev \
libxslt1-dev \
Expand Down Expand Up @@ -71,9 +73,11 @@ RUN apt-get update \
&& pecl install mongodb-${PHP_MONGODB_VERSION} \
&& pecl install xdebug-${XDEBUG_VERSION} \
&& pecl install redis-${PHP_REDIS_VERSION} \
&& pecl install amqp \
&& docker-php-ext-enable \
apcu \
opcache \
amqp \
mongodb \
redis \
&& pecl clear-cache
Expand Down Expand Up @@ -140,9 +144,11 @@ RUN set -eux \
&& bin/console a:i

COPY docker/pumukit/docker-entrypoint.sh /usr/local/bin/docker-entrypoint
COPY docker/pumukit/messenger-supervisor.sh /usr/local/bin/messenger-supervisor.sh

USER root
RUN chmod +x /usr/local/bin/docker-entrypoint
RUN chmod +x /usr/local/bin/messenger-supervisor.sh

## Add the wait script to the image
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.4.0/wait /wait
Expand Down
13 changes: 13 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,22 @@
"mobiledetect/mobiledetectlib": "^2.8",
"phpdocumentor/reflection-docblock": "^5.3",
"sensio/framework-extra-bundle": "^6.2",
"symfony/amqp-messenger": "^5.0",
"symfony/messenger": "^5.0",
"symfony/doctrine-messenger": "^5.0",
"teltek/pumukit-youtube-bundle": "5.0.x-dev",
"symfony/asset": "^5.0",
"symfony/css-selector": "^5.0",
"symfony/dotenv": "^5.0",
"symfony/event-dispatcher": "^5.0",
"symfony/expression-language": "^5.0",
"symfony/flex": "^1.6",
"symfony/form": "^5.0",
"symfony/framework-bundle": "^5.0",
"symfony/http-kernel": "^5.0",
"symfony/intl": "^5.0",
"symfony/monolog-bundle": "^3.0",
"symfony/routing": "^5.0",
"symfony/security-bundle": "^5.0",
"symfony/serializer": "^5.0",
"symfony/swiftmailer-bundle": "^3.0",
Expand Down Expand Up @@ -121,6 +127,13 @@
"platform": {
"ext-mongo": "1.6.16"
},
"audit": {
"block-insecure": false,
"ignore": [
"PKSA-gs8r-6kz6-pp56",
"PKSA-gnn4-pxdg-q76m"
]
},
"preferred-install": {
"*": "dist"
},
Expand Down
Loading
Loading