richarvey/nginx-php-fpm
Fork: 851 Star: 1664 (更新于 2024-11-16 06:50:59)
license: GPL-3.0
Language: Shell .
Nginx and php-fpm for dockerhub builds
最后发布版本: 3.1.6 ( 2023-06-11 03:54:24)
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/ | 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
- https://github.com/richarvey/nginx-php-fpm
- https://hub.docker.com/repository/docker/richarvey/nginx-php-fpm/general
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
- Building from source
- Versioning
- Config Flags
- Git Auth
- Git Commands
- Push
- Pull
- Repository layout / webroot
- webroot
- User / Group Identifiers
- Custom Nginx Config files
- REAL IP / X-Forwarded-For Headers
- Scripting and Templating
- Environment Variables
- Lets Encrypt Support
- Setup
- Renewal
- PHP Modules
- Xdebug
- Logging and Errors
Guides
最近版本更新:(数据更新于 2024-10-14 15:34:49)
2023-06-11 03:54:24 3.1.6
2023-05-26 20:59:01 3.1.5
2023-04-15 04:43:33 3.1.4
2023-03-20 19:40:16 3.1.3
2023-03-17 16:15:57 3.1.2
2023-03-17 07:49:15 3.1.1
2023-03-02 05:58:12 3.1.0
2023-03-02 05:46:23 3.0.2
2023-03-02 05:34:29 3.0.1
2023-03-01 08:20:18 3.0.0
主题(topics):
container, docker, docker-image, nginx, nginx-php-fpm, php, php-fpm
richarvey/nginx-php-fpm同语言 Shell最近更新仓库
2024-11-20 21:00:51 morytyann/OpenWrt-mihomo
2024-11-19 12:59:33 RROrg/rr
2024-11-13 11:38:52 dockur/windows
2024-11-13 07:21:02 j-hc/revanced-magisk-module
2024-11-05 08:14:05 kevin01523/WSA-MagiskDelta
2024-11-01 20:30:51 DoL-Lyra/Lyra