fix: corrige la configuration Compose + passe à PHP8.5

This commit is contained in:
gcch 2025-12-15 15:34:50 +01:00
commit 21a1828144
3 changed files with 8 additions and 3 deletions

View file

@ -10,7 +10,7 @@ RUN set -eux && apk add --no-cache \
# Récupère les fichiers du site pour la branche « Production ».
RUN git clone --branch production --depth 1 http://git.gcch.fr/gcch/haiku-atelier-2024.git "/tmp/repo"
FROM docker.io/library/wordpress:php8.4-fpm-alpine AS php
FROM docker.io/library/wordpress:php8.5-fpm-alpine AS php
ENTRYPOINT []
LABEL org.opencontainers.image.title=wordpress-haiku-atelier \

View file

@ -11,6 +11,11 @@ server {
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
# Pour éviter des erreurs liés à des requêtes trop lourdes.
fastcgi_buffers 16 32k;
fastcgi_buffer_size 64k;
fastcgi_busy_buffers_size 64k;
# Point d'accès pour vérifier la santé du conteneur Angie.
location = /health {
access_log off;