A docker image to run Laravel apps under HHVM compiler in FastCGI mode behind an NGINX web server.
This image is based off of vinelab/base so all of the features are available here as well.
docker run -p -d 80:80 -v $(pwd):/var/www/app vinelab/hhvmhttp://localhost and you should get to your appComposer is installed in /usr/local/bin/composer so you can use it right away.
To add a virtual host configuration file to nginx mount a file with .conf extension to
/etc/nginx/conf.d/ when running your container as such:
docker run -d -p 80:80 -v /path/to/host.conf:/etc/nginx/conf.d/host.conf vinelab/hhvm
The default configuration file is
/etc/nginx/conf.d/app.confwith/var/www/app/publicas document root.
If you'd like to alter the base nginx configuration override the file at
/etc/nginx/nginx.conf but make sure to have daemon off so that
supervisor can keep an eye on your nginx process:
docker run -d -p 80:80 /path/to/nginx.conf:/etc/nginx/nginx.conf vinelab/hhvm
Content type
Image
Digest
sha256:3f30c27f3…
Size
315 MB
Last updated
almost 11 years ago
docker pull vinelab/hhvm