Skip to content

Nginx + PHP-FPM 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian 10 (Buster) image

License

Notifications You must be signed in to change notification settings

alexsamofalov/nginx-php-fpm

 
 

Repository files navigation

Docker Hub; wyveo/nginx-php-fpm nginx 1.17.9 php 7.4.3 License MIT

Introduction

This is a Dockerfile to build a debian based container image running nginx and php-fpm 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x & Composer.

Versioning

Docker Tag GitHub Release Nginx Version PHP Version Debian Version
latest master Branch 1.17.9 7.4.3 buster
php74 php74 Branch 1.17.9 7.4.3 buster
php73 php73 Branch 1.17.9 7.3.15 buster
php72 php72 Branch 1.17.9 7.2.28 buster
php71 php71 Branch 1.17.9 7.1.33 buster
php70 php70 Branch 1.17.9 7.0.33 buster

Building from source

To build from source you need to clone the git repo and run docker build:

$ git clone https://github.com/wyveo/nginx-php-fpm.git
$ cd nginx-php-fpm

followed by

$ docker build -t nginx-php-fpm:latest . # PHP 7.4.x

or

$ docker build -t nginx-php-fpm:php74 . # PHP 7.4.x

Pulling from Docker Hub

$ docker pull wyveo/nginx-php-fpm:latest

Running

To run the container:

$ sudo docker run -d wyveo/nginx-php-fpm:latest

Default web root:

/usr/share/nginx/html

About

Nginx + PHP-FPM 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian 10 (Buster) image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 53.3%
  • Dockerfile 43.7%
  • Shell 3.0%