Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .docker/Dockerfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
FROM uselagoon/php-8.3-fpm:${LAGOON_IMAGE_VERSION}

COPY .docker/images/php/01-govcms.ini /usr/local/etc/php/conf.d/
COPY .docker/images/php/99-httpav-id.conf /usr/local/etc/php-fpm.d/99-httpav-id.conf
COPY --from=cli /app /app
COPY .docker/sanitize.sh /app/sanitize.sh

Expand Down
5 changes: 5 additions & 0 deletions .docker/images/php/99-httpav-id.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
; HTTPAV identifier passed into PHP for FPM requests (not visible to CLI/php -r).
; Expanded at container start by envplate (see Lagoon 70-php-config.sh) from Lagoon’s
; project and environment names. Pool name must match the active pool (usually www).
[www]
env[HTTPAV_IDENTIFIER] = ${LAGOON_PROJECT}-${LAGOON_ENVIRONMENT}