{"id":50449354,"url":"https://github.com/nephatrine/docker-nginx-php","last_synced_at":"2026-05-31T23:30:44.109Z","repository":{"id":93348477,"uuid":"133575602","full_name":"nephatrine/docker-nginx-php","owner":"nephatrine","description":"[mirror] Container w/ NGINX \u0026 PHP","archived":false,"fork":false,"pushed_at":"2024-03-09T14:59:11.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-09T15:47:26.212Z","etag":null,"topics":["alpine","docker","docker-image","nginx","php","php-fpm"],"latest_commit_sha":null,"homepage":"https://code.nephatrine.net/NephNET/docker-nginx-php","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nephatrine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-15T21:31:50.000Z","updated_at":"2023-05-01T17:55:20.000Z","dependencies_parsed_at":"2023-10-12T13:33:33.341Z","dependency_job_id":"b26b9ce8-e710-4404-be4f-91f0cda6877d","html_url":"https://github.com/nephatrine/docker-nginx-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nephatrine/docker-nginx-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nephatrine%2Fdocker-nginx-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nephatrine%2Fdocker-nginx-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nephatrine%2Fdocker-nginx-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nephatrine%2Fdocker-nginx-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nephatrine","download_url":"https://codeload.github.com/nephatrine/docker-nginx-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nephatrine%2Fdocker-nginx-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33753923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"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":["alpine","docker","docker-image","nginx","php","php-fpm"],"created_at":"2026-05-31T23:30:42.210Z","updated_at":"2026-05-31T23:30:44.093Z","avatar_url":"https://github.com/nephatrine.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2024 Daniel Wolf \u003cnephatrine@gmail.com\u003e\n\nSPDX-License-Identifier: ISC\n--\u003e\n\n[Git](https://code.nephatrine.net/NephNET/docker-nginx-php/src/branch/master) |\n[Docker](https://hub.docker.com/r/nephatrine/nginx-php/) |\n[unRAID](https://code.nephatrine.net/NephNET/unraid-containers)\n\n# NGINX PHP Web Server\n\nThis docker container manages the NGINX application with PHP support for web\ndevelopment or application hosting.\n\nThe `latest` tag points to version `8.2.16` and this is the only image actively\nbeing updated. There are tags for older versions, but these may no longer be\nusing the latest NGINX version or Alpine version and packages.\n\nIf using this as a standalone web server, you can configure TLS the same way as\nthe [nginx-ssl](https://code.nephatrine.net/NephNET/docker-nginx-ssl) container.\nIf part of a larger envinronment, we suggest using a separate container as a\nreverse proxy server and handle TLS there instead.\n\nThis container is primarily intended to be used as a base image for PHP web\napplications.\n\n## Docker-Compose\n\nThis is an example docker-compose file:\n\n```yaml\nservices:\n  php:\n    image: nephatrine/nginx-php:latest\n    container_name: php\n    environment:\n      TZ: America/New_York\n      PUID: 1000\n      PGID: 1000\n      ADMINIP: 127.0.0.1\n      TRUSTSN: 192.168.0.0/16\n      DNSADDR: \"8.8.8.8 8.8.4.4\"\n    ports:\n      - \"8080:80/tcp\"\n    volumes:\n      - /mnt/containers/php:/mnt/config\n```\n\n## Server Configuration\n\nThese are the configuration and data files you will likely need to be aware of\nand potentially customize.\n\n- `/mnt/config/etc/mime.type`\n- `/mnt/config/etc/nginx.conf`\n- `/mnt/config/etc/nginx.d/*`\n- `/mnt/config/www/default/*`\n- `/mnt/config/etc/php.d/*`\n- `/mnt/config/etc/php.ini`\n- `/mnt/config/etc/php-fpm.conf`\n- `/mnt/config/etc/php-fpm.d/*`\n\nModifications to some of these may require a service restart to pull in the\nchanges made.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnephatrine%2Fdocker-nginx-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnephatrine%2Fdocker-nginx-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnephatrine%2Fdocker-nginx-php/lists"}