Skip to content
Snippets Groups Projects
Commit 236d52fd authored by Stefan Bürk's avatar Stefan Bürk
Browse files

[TASK] Replace `php -S` with apache2 and php-fpm

This change uses a slighty modified httpd (apache2)
image based on alpine along with a own php-fpm image
to spawn up a webserver with php-fpm in two containers
as a replacement for the `php -S` webserver used prior.

Modification for the apache2 (httpd) image are minimal
and gives us the ability to mount the project with the
exact same path in the image as from outside. Further
all required apache2 modules are loaded missing the
official image.

Due to moving away from the php webserver we now need
to adjust some configurations:

* Use port 80 instead of 8000 the for acceptance
  and acceptanceInstall tests webserver.
* Use the acceptance test instance as DocumentRoot
  instead of the monorepo root.
* Copy several `.htaccess` files to the acceptance
  test instance as we now have a real apache2.
* Copy the favicon.ico to the test instance instead
  of the monorepo root.
* Ensure that created frontend SiteConfiguration no
  longer uses the relative test inst...
parent c3384bcc
Showing
with 149 additions and 31 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment