nginx-php-fpm

Nginx and php-fpm for dockerhub builds

Github星跟踪图

pipeline status
docker hub
docker hub

Please open pull requests and issues on https://gitlab.com/ric_harvey/nginx-php-fpm

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/1.9.0, Master Branch, 1.16.1, 7.4.2, 3.11, For other tags please see: versioning

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

主要指标

概览
名称与所有者richarvey/nginx-php-fpm
主编程语言Shell
编程语言PHP (语言数: 4)
平台
许可证GNU General Public License v3.0
所有者活动
创建于2015-01-27 19:06:56
推送于2023-12-21 21:19:05
最后一次提交
发布数70
最新版本名称3.1.6 (发布于 )
第一版名称php71 (发布于 )
用户参与
星数1.7k
关注者数49
派生数856
提交数510
已启用问题?
问题数183
打开的问题数12
拉请求数57
打开的拉请求数3
关闭的拉请求数59
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?