2025-10-02 16:54:47 +02:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
|
|
services:
|
2025-11-01 16:47:15 +01:00
|
|
|
# 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"
|
2025-10-02 16:54:47 +02:00
|
|
|
default:
|
|
|
|
|
image: php:8.3.12-apache
|
|
|
|
|
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
|
2025-11-01 16:47:15 +01:00
|
|
|
- ./apache/default.conf:/etc/apache2/sites-available/000-default.conf:z
|
2025-10-02 16:54:47 +02:00
|
|
|
ports:
|
|
|
|
|
- "8080:80"
|
|
|
|
|
command: bash -c "a2enconf custom && a2enmod rewrite && apache2-foreground"
|