This commit is contained in:
gcch 2025-11-12 16:23:06 +01:00
commit e05e9553f5
1250 changed files with 23379 additions and 147730 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

@ -53,4 +53,5 @@ http {
############# WP conf
include /etc/angie/haikuatelier.conf;
include /etc/angie/phpmyadmin.conf;
}

View file

@ -0,0 +1,27 @@
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
upstream phpmyadmin-upstream {
server phpmyadmin:80;
}
server {
listen 80;
server_name "phpmyadmin.gcch.local";
access_log /var/log/angie/phpmyadmin-access.log;
error_log /var/log/angie/phpmyadmin-error.log;
location / {
proxy_pass http://phpmyadmin-upstream;
proxy_http_version 1.1;
proxy_read_timeout 86400;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

View file

@ -40,6 +40,13 @@ http:
service: api@internal
tls: true
phpmyadmin:
entryPoints:
- "websecure"
rule: "Host(`phpmyadmin.gcch.local`)"
service: "service-phpmyadmin"
tls: true
whoami:
entryPoints:
- websecure

View file

@ -18,6 +18,11 @@ http:
servers:
- url: "http://jaeger:4318"
service-phpmyadmin:
loadBalancer:
servers:
- url: "http://proxy:80"
service-whoami:
loadBalancer:
servers: