mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-11-10 11:57:25 +01:00
Add optimized PHP settings.
This commit is contained in:
parent
f1bc23d11f
commit
c9c6c4353c
@ -14,7 +14,7 @@ RUN docker-php-ext-install ldap \
|
|||||||
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