A PHP application container, with the mongo extension installed.
latestmole: ELK enabled image for logging
You can either mount code into the container and run it, or use this image as base for an application image.
docker run -d -p [host port]:80 -v /path/to/code:/code/public vinelab/nginx-phpMounting Laravel code has to happen to /code instead of /code/public since Laravel incorporates a /public directory.
docker run -d -p [host port]:80 -v /path/to/laravel-code:/code vinelab/nginx-phpUsing this image as base image is as simple as creating a Dockerfile in the application root with the following content:
FROM vinelab/nginx-php
MAINTAINER You Name <your@email>
COPY . /codeBy default 443 and 80 are exposed
This package is distributed under the MIT License (see LICENSE) file distributed with this package.