Utilisation de variables d'environnements pour les chemins racines de l'application dans les volumes.

This commit is contained in:
2026-03-11 17:52:09 +01:00
parent 1f8a3b1ccb
commit f09491f786
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ services:
VITE_PORT: ${VITE_PORT}
volumes:
- ${PWD}/www:/var/www/html
- ${PWD}/${APP_HOST_PATH}:${APP_CONTAINER_PATH}
- ${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
+1 -1
View File
@@ -13,7 +13,7 @@ services:
VITE_PORT: ${VITE_PORT}
volumes:
- ${PWD}/www:/app
- ${PWD}/${APP_HOST_PATH}:${APP_CONTAINER_PATH}
- ${PWD}/host/frankenphp/conf/Caddyfile:/etc/frankenphp/Caddyfile
- ${PWD}/host/php/conf/${OPCACHE_CONFIG_FILE:-opcache.default.ini}:/usr/local/etc/php/conf.d/opcache.ini
- ${PWD}/upload:/app/public/upload