mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-12-26 19:19:05 +01:00
Add optimized PHP settings.
This commit is contained in:
parent
f1bc23d11f
commit
c9c6c4353c
@ -8,13 +8,13 @@ RUN apk add --no-cache $PHPIZE_DEPS \
|
|||||||
libldap \
|
libldap \
|
||||||
openldap-dev
|
openldap-dev
|
||||||
|
|
||||||
RUN docker-php-ext-install ldap \
|
RUN docker-php-ext-install ldap \
|
||||||
mysqli \
|
mysqli \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
opcache
|
opcache
|
||||||
|
|
||||||
# Enable php8-xdebug if $PHP_XDEBUG_INIT is true
|
# Enable php8-xdebug if $PHP_XDEBUG_INIT is true
|
||||||
ARG PHP_XDEBUG_INIT=false
|
ARG PHP_XDEBUG_INIT="false"
|
||||||
ARG PHP_XDEBUG_MODE=off
|
ARG PHP_XDEBUG_MODE=off
|
||||||
ARG PHP_XDEBUG_CLIENT_PORT=5902
|
ARG PHP_XDEBUG_CLIENT_PORT=5902
|
||||||
ARG PHP_XDEBUG_CLIENT_HOST=host.docker.internal
|
ARG PHP_XDEBUG_CLIENT_HOST=host.docker.internal
|
||||||
@ -50,9 +50,9 @@ RUN mkdir -p /var/lib/job-archive
|
|||||||
RUN mkdir -p /var/www/symfony
|
RUN mkdir -p /var/www/symfony
|
||||||
VOLUME /var/www/symfony /var/lib/job-archive
|
VOLUME /var/www/symfony /var/lib/job-archive
|
||||||
|
|
||||||
COPY symfony.ini /etc/php8/conf.d/
|
COPY php.ini /usr/local/etc/php/
|
||||||
COPY symfony.ini /etc/php8/cli/conf.d/
|
COPY symfony.ini /usr/local/etc/php/conf.d/
|
||||||
|
COPY symfony.ini /usr/local/etc/php/cli/conf.d/
|
||||||
COPY symfony.pool.conf /etc/php8/php-fpm.d/
|
COPY symfony.pool.conf /etc/php8/php-fpm.d/
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
1944
php-fpm/php.ini
Normal file
1944
php-fpm/php.ini
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user