wyveo/nginx-php-fpm

By wyveo

Updated over 1 year ago

Nginx + PHP-FPM 8.1.x / 8.0.x / 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian (Bu

Image
109

1M+

Docker Hub; wyveo/nginx-php-fpmnginx 1.25.2php 8.2.9License MIT

Introduction

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

Versioning
Docker TagGitHub ReleaseNginx VersionPHP VersionDebian VersionComposer
latestmaster Branch1.25.28.2.9bullseye2.5.8
php82php82 Branch1.25.28.2.9bullseye2.5.8
php81php81 Branch1.21.68.1.3bullseye2.2.7
php80php80 Branch1.21.68.0.16buster2.0.13
php74php74 Branch1.21.67.4.28buster2.0.13
php73php73 Branch1.21.67.3.33buster2.0.13
php72php72 Branch1.21.67.2.34buster2.0.13
php71php71 Branch1.21.67.1.33buster2.0.13
php70php70 Branch1.21.67.0.33buster2.0.13

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:php82 . # PHP 8.2.x

Pulling from Docker Hub

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

Running

To run the container:

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

Default web root:

/usr/share/nginx/html

Docker Pull Command

docker pull wyveo/nginx-php-fpm