Public Repository

Last pushed: 2 years ago
Short Description
This is the image running Nginx and PHP Phalcon
Full Description

This image will auto start the services for php5-fpm and nginx
further more you can pass your public folder or web folder name as a variable as follows

if you are in public_html and your public folder with the index.php in called web then:
docker run -e "WEBPUBLIC=web" -it -p 80:80 -v $(pwd):/var/www bennxumalo/nginx-phalcon

if you are in public_html and your public folder with the index.php in called public then:
docker run -e "WEBPUBLIC=public" -it -p 80:80 -v $(pwd):/var/www bennxumalo/nginx-phalcon

remember -e is just for passing environment variables already set in nginx on the image itself, making it easier for you to re-use the same image for multiple projects with ease.

Docker Pull Command
Owner
bennxumalo

Comments (0)