NGINX---PHP-FPM

NGINX---PHP-FPM

Docker app from grtgbln's Repository

Overview

Nginx + PHP-FPM capable of pulling application code from git.

nginx-php-fpm - build docker hub docker hub Github docker version

Overview

This is a Dockerfile/image to build a container for nginx and php-fpm, with the ability to pull website code from git when the container is created, as well as allowing the container to push and pull changes to the code to and from git. The container also has the ability to update templated files with variables passed to docker in order to update your code and settings. There is support for lets encrypt SSL configurations, custom nginx configs, core nginx/PHP variable overrides for running preferences, X-Forwarded-For headers and UID mapping for local volume support.

If you have improvements or suggestions please open an issue or pull request on the GitHub project page.

Versioning

Docker Tag Git Release Nginx Version PHP Version Alpine Version
latest/docker version Main Branch 1.24-r6 8.2.7 3.18

For other tags please see: versioning

NOTE: From 2.0.5 onwards there are x86 and arm64 builds available

Links

Quick Start

To pull from docker hub:

docker pull richarvey/nginx-php-fpm:latest

Running

To simply run the container:

sudo docker run -d richarvey/nginx-php-fpm

To dynamically pull code from git when starting:

docker run -d -e 'GIT_EMAIL=email_address' -e 'GIT_NAME=full_name' -e 'GIT_USERNAME=git_username' -e 'GIT_REPO=github.com/project' -e 'GIT_PERSONAL_TOKEN=<long_token_string_here>' richarvey/nginx-php-fpm:latest

You can then browse to http://<DOCKER_HOST> to view the default install files. To find your DOCKER_HOST use the docker inspect to get the IP address (normally 172.17.0.2)

For more detailed examples and explanations please refer to the documentation.

Documentation

Guides

Install NGINX---PHP-FPM on Unraid in a few clicks.

Find NGINX---PHP-FPM in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for NGINX---PHP-FPM Review the template variables and paths Click Install

Download Statistics

70,060,187
Total Downloads
22,013
This Month
29,593
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Details

Repository
richarvey/nginx-php-fpm:latest
Last Updated2023-06-10
First Seen2024-11-09

Runtime arguments

Web UI
http://[IP]:[PORT:80]/
Network
bridge
Privileged
false

Template configuration

HTTP PortPorttcp

Container Port: 80

Target
80
Default
1080
Value
1080
HTTPS PortPorttcp

Container Port: 443

Target
443
Default
1443
Value
1443
Git - EmailVariable

Git email

Target
GIT_EMAIL
Git - NameVariable

Git name

Target
GIT_NAME
Git - UsernameVariable

Git username

Target
GIT_USERNAME
Git - RepositoryVariable

Git repository

Target
GIT_REPO
Git - Personal TokenVariable

Git personal token

Target
GIT_PERSONAL_TOKEN