Skip to content

Commit 59e73e9

Browse files
authored
Merge branch 'master' into chore(deps)/dependency-update
2 parents ca9f0a4 + a39a0e8 commit 59e73e9

File tree

5 files changed

+987
-5
lines changed

5 files changed

+987
-5
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ WORKDIR /app
4040

4141
COPY . /app
4242
COPY ./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

4445
RUN chmod +x /app/bin/console
4546
RUN chmod +x /app/docker-entrypoint.sh

Dockerfile_dev

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,13 @@ COPY --from=composer:2.6.4 /usr/bin/composer /usr/bin/composer
7575
# Enable Composer autocompletion
7676
RUN 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
8383
COPY ./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
8687
WORKDIR /app
@@ -95,9 +96,6 @@ RUN chmod +x /app/bin/console \
9596

9697
RUN 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-
10199
RUN 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 | \

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)