Mise à jour de la configuration pour Apache.

This commit is contained in:
2026-03-09 19:40:21 +01:00
parent fd486390f7
commit e13bf5c8e4
5 changed files with 31 additions and 11 deletions
+14 -3
View File
@@ -1,13 +1,24 @@
services:
server-php:
image: ${APACHE_PHP_VERSION}
build:
context: .
args:
SERVER_PHP_IMAGE: ${APACHE_PHP_IMAGE}
dockerfile: ${PWD}/docker/Dockerfile.server-php
environment:
- APACHE_ADMIN_EMAIL=${APACHE_ADMIN_EMAIL}
APACHE_ADMIN_EMAIL: ${APACHE_ADMIN_EMAIL}
APACHE_ROOT_PATH: ${APACHE_ROOT_PATH}
# Configuration en local
VITE_PORT: ${VITE_PORT}
volumes:
- ${PWD}/www:/var/www/html
- ${PWD}/host/apache/logs:/var/log/apache2
- ${PWD}/host/apache/conf/vhost.conf:/etc/apache2/sites-available/000-default.conf
- ${PWD}/host/apache/conf/apache2.conf:/etc/apache2/conf-enabled/docker.conf
- ${PWD}/host/apache/conf/apache2.conf:/etc/apache2/conf-enabled/docker.conf
- ${PWD}/host/php/conf/${OPCACHE_CONFIG_FILE:-opcache.default.ini}:/usr/local/etc/php/conf.d/opcache.ini
- ${PWD}/upload:/app/public/upload
user: "${UID:-1000}:${GID:-1000}"