Utilisation d'un fichier docker-compose séparé pour la configuration d'Apache.

This commit is contained in:
2026-02-22 10:31:31 +01:00
parent 51d93884bf
commit 54325fb73b
3 changed files with 21 additions and 18 deletions
+13
View File
@@ -0,0 +1,13 @@
services:
server-php:
image: ${APACHE_PHP_VERSION}
environment:
- APACHE_ADMIN_EMAIL=${APACHE_ADMIN_EMAIL}
volumes:
- ./www:/var/www/html
- ./host/apache/logs:/var/log/apache2
- ./host/apache/conf/vhost.conf:/etc/apache2/sites-available/000-default.conf
- ./host/apache/conf/apache2.conf:/etc/apache2/conf-enabled/docker.conf