folderweb/devel/compose.yaml

16 lines
455 B
YAML
Raw Normal View History

2025-10-02 16:54:47 +02:00
version: '3.8'
services:
default:
build: ./
2025-10-02 16:54:47 +02:00
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
2025-10-02 16:54:47 +02:00
ports:
- "8080:80"
command: bash -c "a2enconf custom && a2enmod rewrite && apache2-foreground"