Add the following to your docker-compose.yml file:
apache:
image: yappabe/apache-php
links:
- mysql
volumes_from:
- app
environment:
DOCUMENT_ROOT: /var/www/app/web
ENVIRONMENT: dev
- DOCUMENT_ROOT defaults to /var/www/app/web
- ENVIRONMENT defaults to dev
Append one of the available version numbers to the image name.
apache:
image: yappabe/apache-php:5.4
- 5.6
- 5.5
- 5.4
- 5.3
- 5.2