Skip to content

Lightwight Docker image for the (latest) PHP-FPM and Nginx based on AlpineLinux

Notifications You must be signed in to change notification settings

millerjs2/docker-php-nginx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image based on Alpine linux, with nginx and php-fpm

Lightwight Docker image for the (latest) PHP-FPM and Nginx based on AlpineLinux

  • Small image: 45MB
  • New packages (alpine:latest)

Usage

Build the image:

docker build -t you/imagename .

Start the image:

docker run -v /data:/data -p 80:80 you/imagename

Browse to http://dockerip/index.php to view the phpinfo() output.

Volume structure

  • htdocs: Webroot
  • logs: Nginx/PHP error logs

About

Lightwight Docker image for the (latest) PHP-FPM and Nginx based on AlpineLinux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nginx 78.7%
  • Shell 20.1%
  • PHP 1.2%