{"id":13443059,"url":"https://github.com/richarvey/nginx-php-fpm","last_synced_at":"2025-10-06T13:44:10.654Z","repository":{"id":26478134,"uuid":"29929981","full_name":"richarvey/nginx-php-fpm","owner":"richarvey","description":"Nginx and php-fpm for dockerhub builds","archived":false,"fork":false,"pushed_at":"2023-12-21T21:19:05.000Z","size":469,"stargazers_count":1685,"open_issues_count":15,"forks_count":856,"subscribers_count":49,"default_branch":"main","last_synced_at":"2025-05-29T05:48:39.961Z","etag":null,"topics":["container","docker","docker-image","nginx","nginx-php-fpm","php","php-fpm"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/richarvey/nginx-php-fpm/general","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richarvey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"richarvey"}},"created_at":"2015-01-27T19:06:56.000Z","updated_at":"2025-05-25T14:50:56.000Z","dependencies_parsed_at":"2023-02-13T01:16:03.941Z","dependency_job_id":"1440ef13-b52c-4f48-8fc4-52429c37d1c2","html_url":"https://github.com/richarvey/nginx-php-fpm","commit_stats":{"total_commits":429,"total_committers":57,"mean_commits":7.526315789473684,"dds":0.7272727272727273,"last_synced_commit":"15f577b1877c27b5830cb9c23ddff00fa2289ba3"},"previous_names":[],"tags_count":70,"template":false,"template_full_name":null,"purl":"pkg:github/richarvey/nginx-php-fpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarvey%2Fnginx-php-fpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarvey%2Fnginx-php-fpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarvey%2Fnginx-php-fpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarvey%2Fnginx-php-fpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richarvey","download_url":"https://codeload.github.com/richarvey/nginx-php-fpm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarvey%2Fnginx-php-fpm/sbom","scorecard":{"id":775514,"data":{"date":"2025-08-11","repo":{"name":"github.com/richarvey/nginx-php-fpm","commit":"15f577b1877c27b5830cb9c23ddff00fa2289ba3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/30 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build_images.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_images.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/richarvey/nginx-php-fpm/build_images.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_images.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/richarvey/nginx-php-fpm/build_images.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_images.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/richarvey/nginx-php-fpm/build_images.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_images.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/richarvey/nginx-php-fpm/build_images.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_images.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/richarvey/nginx-php-fpm/build_images.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating php:8.2.7-fpm-alpine3.18 to php:8.2.7-fpm-alpine3.18@sha256:af8702c874336bdf09396c7791584a82fa8f953a20cf9c1088c2506610526500","Warn: pipCommand not pinned by hash: Dockerfile:49-91","Warn: pipCommand not pinned by hash: Dockerfile:49-91","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T03:28:50.735Z","repository_id":26478134,"created_at":"2025-08-23T03:28:50.735Z","updated_at":"2025-08-23T03:28:50.735Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278621844,"owners_count":26017253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container","docker","docker-image","nginx","nginx-php-fpm","php","php-fpm"],"created_at":"2024-07-31T03:01:55.460Z","updated_at":"2025-10-06T13:44:10.638Z","avatar_url":"https://github.com/richarvey.png","language":"Shell","funding_links":["https://github.com/sponsors/richarvey"],"categories":["Dockerfile","Shell","php"],"sub_categories":[],"readme":"## nginx-php-fpm - [![build](https://github.com/richarvey/nginx-php-fpm/actions/workflows/build_images.yml/badge.svg)](https://github.com/richarvey/nginx-php-fpm/actions/workflows/build_images.yml) ![docker hub](https://img.shields.io/docker/pulls/richarvey/nginx-php-fpm.svg) ![docker hub](https://img.shields.io/docker/stars/richarvey/nginx-php-fpm.svg) ![Github](https://img.shields.io/github/stars/richarvey/nginx-php-fpm.svg) ![docker version](https://img.shields.io/docker/v/richarvey/nginx-php-fpm?sort=semver)\n\n## Overview\nThis 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.\n\nIf you have improvements or suggestions please open an issue or pull request on the GitHub project page.\n\n### Versioning\n| Docker Tag | Git Release | Nginx Version | PHP Version | Alpine Version |\n|-----|-------|-----|--------|--------|\n| latest/![docker version](https://img.shields.io/docker/v/richarvey/nginx-php-fpm?sort=semver)| Main Branch |1.24-r6 | 8.2.7 | 3.18 |\n\nFor other tags please see: [versioning](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/versioning.md)\n\n__NOTE:__ From 2.0.5 onwards there are x86 and arm64 builds available\n\n### Links\n- [https://github.com/richarvey/nginx-php-fpm](https://github.com/richarvey/nginx-php-fpm)\n- [https://hub.docker.com/repository/docker/richarvey/nginx-php-fpm/general](https://hub.docker.com/repository/docker/richarvey/nginx-php-fpm/general)\n\n## Quick Start\nTo pull from docker hub:\n```\ndocker pull richarvey/nginx-php-fpm:latest\n```\n### Running\nTo simply run the container:\n```\nsudo docker run -d richarvey/nginx-php-fpm\n```\nTo dynamically pull code from git when starting:\n```\ndocker 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=\u003clong_token_string_here\u003e' richarvey/nginx-php-fpm:latest\n```\n\nYou can then browse to ```http://\u003cDOCKER_HOST\u003e``` 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)\n\nFor more detailed examples and explanations please refer to the documentation.\n## Documentation\n\n- [Building from source](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/building.md)\n- [Versioning](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/versioning.md)\n- [Config Flags](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/config_flags.md)\n- [Git Auth](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/git_auth.md)\n  - [Personal Access token](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/git_auth.md#personal-access-token)\n  - [SSH Keys](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/git_auth.md#ssh-keys)\n- [Git Commands](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/git_commands.md)\n - [Push](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/git_commands.md#push-code-to-git)\n - [Pull](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/git_commands.md#pull-code-from-git-refresh)\n- [Repository layout / webroot](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/repo_layout.md)\n - [webroot](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/repo_layout.md#src--webroot)\n- [User / Group Identifiers](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/UID_GID_Mapping.md)\n- [Custom Nginx Config files](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/nginx_configs.md)\n - [REAL IP / X-Forwarded-For Headers](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/nginx_configs.md#real-ip--x-forwarded-for-headers)\n- [Scripting and Templating](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/scripting_templating.md)\n - [Environment Variables](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/scripting_templating.md#using-environment-variables--templating)\n- [Lets Encrypt Support](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/lets_encrypt.md)\n - [Setup](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/lets_encrypt.md#setup)\n - [Renewal](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/lets_encrypt.md#renewal)\n- [PHP Modules](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/php_modules.md)\n- [Xdebug](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/xdebug.md)\n- [Logging and Errors](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/logs.md)\n\n## Guides\n- [Running in Kubernetes](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/guides/kubernetes.md)\n- [Using Docker Compose](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/guides/docker_compose.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricharvey%2Fnginx-php-fpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricharvey%2Fnginx-php-fpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricharvey%2Fnginx-php-fpm/lists"}