Public | Automated Build

Last pushed: 5 months ago
Short Description
Apache 2.4 with PHP 7.0 image used to run eZ Publish or Symfony applications.
Full Description

Apache/php 7.0 web server

This is the main web server image for the project. The source code for the eZ Publish installation will be run from here.

Unlike the other images, there is more than one software package installed here as they are necessary for the running of eZ Publish.

Image is built on Debian Jessie.

The software packages installed are:

  • Apache 2.4
  • PHP 7.0
  • ImageMagick 6.7
  • JAVA (OpenJDK 7)
  • Curl
  • Nano

Apache config

Apache listens on ports:

  • 80 (dev vhost)
  • 82 (demo vhost)
  • 88 (controlpanel vhost)

Those can be remapped when running the container.

The controlpanel vhost is baked-in into the container, whereas eZ Publish dynamic virtual hosts config files must be mounted as volumes.
This way it is faster to modify a vhost config and restart the Apache service without having to rebuild the container.

How to run the container

You can run the container with the docker run command :

``` sh
docker run klabs/apache_php7

But is is strongly recommended to use docker-compose with the script provided in ezdocker-stack repository.

Docker Pull Command
Source Repository

Comments (0)