fix: corrige la configuration Compose + passe à PHP8.5
This commit is contained in:
parent
fdb6aaa7e9
commit
21a1828144
3 changed files with 8 additions and 3 deletions
|
|
@ -74,7 +74,7 @@ services:
|
|||
- "./containers/conf/angie:/etc/angie:rw"
|
||||
- "./containers/data/certs:/etc/angie/ssl:ro"
|
||||
- "./containers/data/angie/logs:/var/log/angie:rw"
|
||||
- "./:/var/www/wordpress:ro"
|
||||
- "./:/var/www/wordpress:rw"
|
||||
traefik:
|
||||
container_name: "haikuatelier.fr-traefik"
|
||||
env_file:
|
||||
|
|
@ -118,7 +118,7 @@ services:
|
|||
- "CMD-SHELL"
|
||||
- "valkey-cli ping | grep PONG"
|
||||
timeout: "5s"
|
||||
image: "docker.io/valkey/valkey:8-alpine"
|
||||
image: "docker.io/valkey/valkey:9-alpine"
|
||||
restart: "unless-stopped"
|
||||
sysctls:
|
||||
- "net.core.somaxconn=512"
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue