Skip to content

Commit b1bf659

Browse files
authored
Merge branch 'master' into chore(deps)/dependency-update
2 parents 523b821 + 8bf3264 commit b1bf659

File tree

8 files changed

+997
-15
lines changed

8 files changed

+997
-15
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v4.1.0
25+
uses: actions/checkout@v4.1.1
2626
with:
2727
fetch-depth: '0'
2828

@@ -67,7 +67,7 @@ jobs:
6767
fail-fast: false
6868
steps:
6969
- name: Checkout
70-
uses: actions/checkout@v4.1.0
70+
uses: actions/checkout@v4.1.1
7171
with:
7272
fetch-depth: '0'
7373

@@ -118,7 +118,7 @@ jobs:
118118
fail-fast: false
119119
steps:
120120
- name: Checkout
121-
uses: actions/checkout@v4.1.0
121+
uses: actions/checkout@v4.1.1
122122
with:
123123
fetch-depth: '0'
124124

@@ -207,7 +207,7 @@ jobs:
207207
fail-fast: false
208208
steps:
209209
- name: Checkout
210-
uses: actions/checkout@v4.1.0
210+
uses: actions/checkout@v4.1.1
211211
with:
212212
fetch-depth: '0'
213213

@@ -317,7 +317,7 @@ jobs:
317317

318318
steps:
319319
- name: Make checkout
320-
uses: actions/checkout@v4.1.0
320+
uses: actions/checkout@v4.1.1
321321

322322
- name: Lint `./README.md`
323323
uses: avto-dev/markdown-lint@v1
@@ -350,7 +350,7 @@ jobs:
350350
- test
351351

352352
steps:
353-
- uses: actions/checkout@v4.1.0
353+
- uses: actions/checkout@v4.1.1
354354

355355
- name: Set tag var
356356
id: vars

.github/workflows/scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434

3535
steps:
3636
- name: "Checkout code"
37-
uses: actions/checkout@v4.1.0
37+
uses: actions/checkout@v4.1.1
3838
with:
3939
persist-credentials: false
4040

4141
- name: "Run analysis"
42-
uses: ossf/scorecard-action@v2.3.0
42+
uses: ossf/scorecard-action@v2.3.1
4343
with:
4444
results_file: results.sarif
4545
results_format: sarif
@@ -69,6 +69,6 @@ jobs:
6969

7070
# Upload the results to GitHub's code scanning dashboard.
7171
- name: "Upload to code-scanning"
72-
uses: github/codeql-action/upload-sarif@v2.22.3
72+
uses: github/codeql-action/upload-sarif@v2.22.4
7373
with:
7474
sarif_file: results.sarif

.github/workflows/vulnerability-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4.1.0
17+
uses: actions/checkout@v4.1.1
1818

1919
- name: Build the Docker image
2020
run: docker build . --file Dockerfile --tag symfony-flex-backend:master

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)