punit5658 / ubuntu-nginx-php

Docker container running NGINX and PHP-FPM on Ubuntu.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 Tag NGINX Version PHP Version Composer Version
latest 1.23.0 8.1.8 2.3.9
2.0.2 1.23.0 8.1.8 2.3.9
2.0.1 1.23.0 8.1.7 2.3.7
2.0.0 1.21.6 8.1.6 2.3.5

Final Version with PHP 7.4

Docker Tag NGINX Version PHP Version Composer Version
1.2.11 1.21.6 7.4.29 2.3.5

Final Version with PHP 7.2

Docker Tag NGINX Version PHP Version Composer Version
0.6.1 1.19.5 7.2.34 2.0.7

Getting Started

Build the container:

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

Run the container:

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

Default web root found at:

/usr/share/nginx/html

Default logs found at:

/var/log

About

Docker container running NGINX and PHP-FPM on Ubuntu.

License:MIT License


Languages

Language:Hack 73.3%Language:PHP 23.5%Language:Dockerfile 3.0%Language:Shell 0.2%