File tree Expand file tree Collapse file tree 5 files changed +987
-5
lines changed Expand file tree Collapse file tree 5 files changed +987
-5
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ WORKDIR /app
4040
4141COPY . /app
4242COPY ./docker/php/php.ini /usr/local/etc/php/php.ini
43+ COPY ./docker/php/www.conf /usr/local/etc/php-fpm.d/www.conf
4344
4445RUN chmod +x /app/bin/console
4546RUN chmod +x /app/docker-entrypoint.sh
Original file line number Diff line number Diff line change @@ -75,12 +75,13 @@ COPY --from=composer:2.6.4 /usr/bin/composer /usr/bin/composer
7575# Enable Composer autocompletion
7676RUN composer completion bash > /etc/bash_completion.d/composer
7777
78- # Copy development `php.ini` configuration to container
78+ # Copy development `php.ini` and PHP-FPM pool configuration to container
7979#
80- # Also note that this is mounted within `docker-compose.yml` file, so
80+ # Also note that these files mounted within `docker-compose.yml` file, so
8181# you don't need to build containers again if you change something just
8282# restart containers and you're good
8383COPY ./docker/php/php-dev.ini /usr/local/etc/php/php.ini
84+ COPY ./docker/php/www-dev.conf /usr/local/etc/php-fpm.d/www.conf
8485
8586# Define used work directory
8687WORKDIR /app
@@ -95,9 +96,6 @@ RUN chmod +x /app/bin/console \
9596
9697RUN chmod -R o+s+w /usr/local/etc/php
9798
98- # Enable PHP-FPM status page
99- RUN echo 'pm.status_path = /status' >> /usr/local/etc/php-fpm.d/www.conf
100-
10199RUN curl -s https://api.github.com/repos/fabpot/local-php-security-checker/releases/latest | \
102100 grep -E "browser_download_url(.+)linux_amd64" | \
103101 cut -d : -f 2,3 | \
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ services:
1616 volumes :
1717 - ./:/app:cached
1818 - ./docker/php/php-dev.ini:/usr/local/etc/php/php.ini
19+ - ./docker/php/www-dev.conf:/usr/local/etc/php-fpm.d/www.conf
1920 tmpfs :
2021 - /app/var/:uid=$HOST_UID,gid=$HOST_GID
2122 environment :
You can’t perform that action at this time.
0 commit comments