- Add phpt test runner and suite for app functions - Introduce testing workflow to AGENT.md - Add tests for cache, content, context, helpers, hooks, plugins, rendering - Mount tests directory in dev container
15 lines
455 B
YAML
15 lines
455 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
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
|
|
- ./tests:/var/www/tests:z
|
|
ports:
|
|
- "8080:80"
|
|
command: bash -c "a2enconf custom && a2enmod rewrite && apache2-foreground"
|