- Base: Ubuntu 14.04
- PHP: 5.5x
- Mongo PHP driver (PECL install): 1.5x
- PHP composer
- MongoDB 2.2x binaries
- Apache 2.4 with mod_rewrite enabled
Use this container as a base for your application. Below is an example Dockerfile in which we add a VHost to the apache config:
FROM pitchanon/apache-php-mongo:latest
...
ADD vhost.conf /etc/apache2/sites-enabled/
CMD ["/run.sh"]$ docker run -d -v /host/www:/app -p 80 pitchanon/apache-php-mongo:latest