{"id":28352693,"url":"https://github.com/ajdinmore/docker-php-nginx","last_synced_at":"2026-04-11T19:33:52.560Z","repository":{"id":56761376,"uuid":"309213728","full_name":"ajdinmore/docker-php-nginx","owner":"ajdinmore","description":"Interoperable NGINX and PHP Docker Images","archived":false,"fork":false,"pushed_at":"2023-06-06T14:26:18.000Z","size":80,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T14:39:58.151Z","etag":null,"topics":["composer","developer-tools","docker","git","nginx","php"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/ajdinmore","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajdinmore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2020-11-01T23:58:37.000Z","updated_at":"2022-10-05T19:50:14.000Z","dependencies_parsed_at":"2025-06-20T14:34:14.530Z","dependency_job_id":"92b1847e-bd63-42c9-83fc-94a7a62f289d","html_url":"https://github.com/ajdinmore/docker-php-nginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ajdinmore/docker-php-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajdinmore%2Fdocker-php-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajdinmore%2Fdocker-php-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajdinmore%2Fdocker-php-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajdinmore%2Fdocker-php-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajdinmore","download_url":"https://codeload.github.com/ajdinmore/docker-php-nginx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajdinmore%2Fdocker-php-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31693272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["composer","developer-tools","docker","git","nginx","php"],"created_at":"2025-05-28T00:08:17.945Z","updated_at":"2026-04-11T19:33:52.537Z","avatar_url":"https://github.com/ajdinmore.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Andy's PHP \u0026 NGINX Docker Images\n\n## `ajdinmore/nginx`\n🔗 [Docker Hub](https://hub.docker.com/r/ajdinmore/nginx)\n\nTweaked version of [standard Docker NGINX Image](https://hub.docker.com/_/nginx) for PHP applications.\n\nServed files will be accessed as user 101. \n\nCurrently, no SSL support.\n\n## Paths\n\n| Path          | Purpose      |\n|---------------|--------------|\n| `/app`        | Project root |\n| `/app/public` | Web root     |\n\n### Runtime Environment Variables\n\n| Variable     | Purpose                      | Default         |\n|--------------|------------------------------|-----------------|\n| `NGINX_PORT` | Port NGINX will listen on    | `80`            |\n| `NGINX_HOST` | Web server host              | `_` (all hosts) |\n| `NGINX_ROOT` | Web server root path         | `/app/public`   |\n| `PHP_HOST`   | Network host name of PHP-FPM | `app`           |\n| `PHP_PORT`   | Port to access PHP-FPM       | `9000`          |\n\n---\n\n## `ajdinmore/php`\n🔗 [Docker Hub](https://hub.docker.com/r/ajdinmore/php)\n\nPHP-FPM and some standard extensions, installed from official PHP Debian repository.\n\nIncludes globally accessible Composer \"binary\".\n\nListens on port `9000`.\n\nWorker user will match the user the container runs under. Default user `www-data`, ID `1000`.\n\n## Paths\n\n| Path             | Purpose                                                                                    |\n|------------------|--------------------------------------------------------------------------------------------|\n| `/composer`      | Composer home directory - mount to `${COMPOSER_HOME:-~/.composer}` for cache/OAuth support |\n| `/home/www-data` | Home directory for default `www-data` user                                                 |\n| `/tmp/home`      | Home directory for non-existent user (dev/debug only)                                      |\n\n## Tag Structure\n\n`${PHP_VERSION}-${BUILD_TARGET}`\n\nE.g. `8.1-dev`\n\n### PHP Versions\n- `8.1`\n- `8.0`\n- `7.4`\n- `7.3`\n\n### Build Targets\n- `fpm` - standard/production\n- `dev` - dev config \u0026 tools\n- `debug` - as dev, with Xdebug\n\n## Build Args\n\n| Arg              | Purpose                                                                          | Default                                                                                           |\n|------------------|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| `PHP_VERSION`    | Version of PHP-FPM to install                                                    | `8.1`                                                                                             |\n| `DEBIAN_RELEASE` | Debian release to base the image on                                              | `bullseye`                                                                                        |\n| `WWW_USER_ID`    | ID of PHP's default `www-data` user                                              | `1000`                                                                                            |\n| `WWW_GROUP_ID`   | ID of PHP's default user's `www-data` group                                      | `1000`                                                                                            |\n| `PHP_EXTENSIONS` | PHP extensions to install                                                        | `php-curl php-zip php-xml php-mbstring php-intl php-mysql php-pgsql php-redis php-imagick php-gd` |\n| `DEV_TOOLS`      | Utilities to install in the `dev` image                                          | `postgresql-client default-mysql-client iputils-ping dnsutils unzip nano less git man`            |\n| `COMPOSER_HOME`  | Path of the Composer \"home\" directory (location of cache \u0026 OAuth tokens)         | `/composer`                                                                                       |\n| `SHELL_EDITOR`   | Default editor to use in Bash on the `dev` image (environment variable `EDITOR`) | `nano`                                                                                            |\n| `SHELL_PAGER`    | Pager to use in Bash on the `dev` image (environment variable `PAGER`)           | `less -R`                                                                                         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajdinmore%2Fdocker-php-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajdinmore%2Fdocker-php-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajdinmore%2Fdocker-php-nginx/lists"}