Quelques nouveaux fichiers et modules en conf
This commit is contained in:
19
.docker/php-fpm/Dockerfile
Normal file
19
.docker/php-fpm/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM phpdockerio/php73-fpm:latest
|
||||
WORKDIR "/application"
|
||||
|
||||
# Fix debconf warnings upon build
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install selected extensions and other stuff
|
||||
RUN apt-get update \
|
||||
&& apt-get -y --no-install-recommends install php-mysql php7.3-mysql php7.3-gd php-imagick php7.3-intl php-yaml php-xdebug \
|
||||
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
# Install git
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install git \
|
||||
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install vim \
|
||||
&& apt-get clean;
|
||||
17
.docker/php-fpm/php-ini-overrides.ini
Normal file
17
.docker/php-fpm/php-ini-overrides.ini
Normal file
@@ -0,0 +1,17 @@
|
||||
upload_max_filesize = 100M
|
||||
post_max_size = 108M
|
||||
html_errors=On
|
||||
display_errors=On
|
||||
date.timezone=Europe/Paris
|
||||
memory_limit=-1
|
||||
max_execution_time = 300
|
||||
|
||||
xdebug.idekey = "PHPSTORM"
|
||||
xdebug.remote_enable=1
|
||||
xdebug.remote_autostart=1
|
||||
xdebug.remote_port=9000
|
||||
xdebug.remote_connect_back=1
|
||||
xdebug.remote_handler=dbgp
|
||||
xdebug.profiler_enable=0
|
||||
xdebug.profiler_enable_trigger=1
|
||||
xdebug.profiler_output_dir="/application/log"
|
||||
Reference in New Issue
Block a user