Skip to content

Commit

Permalink
Merge pull request #29 from danuiachimovschi/main
Browse files Browse the repository at this point in the history
sync master
  • Loading branch information
danuiachimovschi authored Feb 3, 2025
2 parents 79eccac + ecafb2b commit 3c70365
Show file tree
Hide file tree
Showing 17 changed files with 840 additions and 254 deletions.
24 changes: 7 additions & 17 deletions .docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ FROM php:8.2-fpm

ENV COMPOSER_ALLOW_SUPERUSER=1

# Set working directory
WORKDIR /var/symfony-rabbit

# Copy project files
COPY ../.. /var/symfony-rabbit

# Install system dependencies
Expand All @@ -18,23 +16,15 @@ RUN apt-get update && apt-get install -y \
librabbitmq-dev \
librdkafka-dev \
redis \
&& docker-php-ext-install pdo pdo_pgsql zip mbstring pcntl \
&& pecl install amqp \
&& docker-php-ext-enable amqp \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

# Install ext-rdkafka PHP
RUN pecl install rdkafka \
&& docker-php-ext-enable rdkafka

# Install Redis Server and PHP Redis extension
RUN pecl install redis \
&& docker-php-ext-enable redis

# Install Swoole dependencies
RUN apt-get update && apt-get install -y \
libssl-dev \
libcurl4-openssl-dev \
&& docker-php-ext-install pdo pdo_pgsql zip mbstring pcntl bcmath sockets \
&& pecl install amqp \
&& docker-php-ext-enable amqp \
&& pecl install rdkafka \
&& docker-php-ext-enable rdkafka \
&& pecl install redis \
&& docker-php-ext-enable redis \
&& pecl install swoole-5.0.3 \
&& docker-php-ext-enable swoole \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
Expand Down
27 changes: 13 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,24 @@
"ext-iconv": "*",
"ext-rdkafka": "*",
"ext-swoole": "*",
"doctrine/doctrine-bundle": "^2.13",
"doctrine/doctrine-migrations-bundle": "^3.4",
"doctrine/migrations": "*",
"doctrine/orm": "^3.3",
"doctrine/doctrine-bundle": "^2.13.2",
"doctrine/doctrine-migrations-bundle": "^3.4.1",
"doctrine/migrations": ">=3.8.2",
"doctrine/orm": "^3.3.1",
"enqueue/rdkafka": "^0.10.20",
"flix-tech/avro-serde-php": "^2.2",
"flix-tech/confluent-schema-registry-api": "^8.1",
"friendsofdoctrine/dbal-clickhouse": "^3.0",
"friendsofdoctrine/dbal-clickhouse": "^3.0.1",
"jobcloud/avro-validator": "^2.1",
"jobcloud/php-kafka-lib": "^2.0",
"league/csv": "^9.21.0",
"php-amqplib/php-amqplib": "^2.0",
"php-amqplib/php-amqplib": "^3.7",
"predis/predis": "^2.3",
"promphp/prometheus_client_php": "^2.13",
"promphp/prometheus_client_php": "^2.13.1",
"smi2/phpclickhouse": "^1.6",
"symfony/amqp-messenger": "7.2.*",
"symfony/console": "7.2.*",
"symfony/dotenv": "7.2.*",
"symfony/flex": "^2",
"symfony/flex": "^2.4.7",
"symfony/framework-bundle": "7.2.*",
"symfony/messenger": "7.2.*",
"symfony/property-access": "7.2.*",
Expand Down Expand Up @@ -91,11 +90,11 @@
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.68",
"kwn/php-rdkafka-stubs": "^2.2",
"php-cs-fixer/shim": "^3.9",
"phpstan/phpstan": "^2.1",
"friendsofphp/php-cs-fixer": "^3.68.5",
"kwn/php-rdkafka-stubs": "^2.2.1",
"php-cs-fixer/shim": "^3.9.3",
"phpstan/phpstan": "^2.1.2",
"swoole/ide-helper": "^6.0",
"symfony/maker-bundle": "^1.61"
"symfony/maker-bundle": "^1.62.1"
}
}
Loading

0 comments on commit 3c70365

Please sign in to comment.