Add Xdebug configuration and container setup for performance profiling Add comprehensive performance testing script with profiling and test data generation Add test data statistics and cleanup commands Add documentation for all performance testing features
27 lines
887 B
YAML
27 lines
887 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
# custom:
|
|
# image: php:8.3.12-apache
|
|
# container_name: folderweb-custom
|
|
# working_dir: /var/www/html/
|
|
# volumes:
|
|
# - ../app:/var/www/app:z
|
|
# - ../content:/var/www/html:z
|
|
# - ../custom:/var/www/custom:z
|
|
# - ../docs:/var/www/html/docs:z
|
|
# - ./apache/custom.conf:/etc/apache2/conf-available/custom.conf:z
|
|
# ports:
|
|
# - "4040:80"
|
|
# command: bash -c "a2enconf custom && a2enmod rewrite && apache2-foreground"
|
|
default:
|
|
build: ./
|
|
container_name: folderweb-default
|
|
working_dir: /var/www/html/
|
|
volumes:
|
|
- ../app:/var/www/app:z
|
|
- ./apache/custom.conf:/etc/apache2/conf-available/custom.conf:z
|
|
- ./apache/default.conf:/etc/apache2/sites-available/000-default.conf:z
|
|
ports:
|
|
- "8080:80"
|
|
command: bash -c "a2enconf custom && a2enmod rewrite && apache2-foreground"
|