Sign inSign up

binaryorigami/ubuntu-nginx-php

By binaryorigami

•Updated almost 4 years ago

Container running NGINX and PHP-FPM on Ubuntu.

Image
1

4.5K

binaryorigami/ubuntu-nginx-php repository overview

⁠NGINX with PHP-FPM on Ubuntu 18.04

Docker Hub; binaryorigami/ubuntu-nginx-php License MIT

⁠Introduction

This is a Dockerfile to build an Ubuntu based container for NGINX and PHP-FPM. The container includes Composer and some settings optimization for Craft CMS and Craft Commerce. The default site contains Craft Server Check⁠.

Docker TagNGINX VersionPHP VersionComposer Version
latest1.23.28.1.132.4.4
3.0.11.23.28.1.132.4.4
3.0.01.23.18.1.112.4.2
⁠Final Version running nginx on port 80
Docker TagNGINX VersionPHP VersionComposer Version
2.0.31.23.18.1.92.4.1
⁠Final Version with PHP 7.4
Docker TagNGINX VersionPHP VersionComposer Version
1.2.111.21.67.4.292.3.5
⁠Final Version with PHP 7.2
Docker TagNGINX VersionPHP VersionComposer Version
0.6.11.19.57.2.342.0.7

⁠Getting Started

Build the container:

docker build -t binaryorigami/ubuntu-nginx-php .

Run the container:

docker run -p 80:8080 -it binaryorigami/ubuntu-nginx-php

Default web root found at:

/usr/share/nginx/html

Default logs found at:

/var/log

Tag summary

Content type

Image

Digest

sha256:ba3f6ad8a…

Size

101.2 MB

Last updated

almost 4 years ago

docker pull binaryorigami/ubuntu-nginx-php