{"id":21018750,"url":"https://github.com/simonrupf/docker-php-mysql","last_synced_at":"2026-02-04T12:33:34.811Z","repository":{"id":148362177,"uuid":"207887805","full_name":"simonrupf/docker-php-mysql","owner":"simonrupf","description":"Stack of nginx web and PHP fpm servers for running PHP web applications with MySQL support.","archived":false,"fork":false,"pushed_at":"2024-06-05T18:40:09.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-05T20:55:17.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/simonrupf/php-mysql","language":"Makefile","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/simonrupf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-09-11T19:12:18.000Z","updated_at":"2024-06-05T18:40:12.000Z","dependencies_parsed_at":"2023-12-17T09:27:08.474Z","dependency_job_id":"57bb05cd-f7dd-43f5-811d-b89bfe1605ac","html_url":"https://github.com/simonrupf/docker-php-mysql","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrupf%2Fdocker-php-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrupf%2Fdocker-php-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrupf%2Fdocker-php-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrupf%2Fdocker-php-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonrupf","download_url":"https://codeload.github.com/simonrupf/docker-php-mysql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447639,"owners_count":20292453,"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","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":[],"created_at":"2024-11-19T10:27:29.726Z","updated_at":"2026-02-04T12:33:34.799Z","avatar_url":"https://github.com/simonrupf.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP with MySQL support\n\nNginx Unit application server for running PHP web applications with MySQL support.\n\nSee also the [base image](https://hub.docker.com/r/simonrupf/php/dockerfile).\n\n## Environment variables\n\nThe image supports the use of the following two environment variables to adjust\nthe timezone. This is useful to ensure the logs show the correct local time.\n\n- `TZ`\n- `PHP_TZ`\n\n## Volumes\n\nIt is recommended to use a tmpfs for `/run` and `/tmp`. `/var/lib/unit` can\ncontain larger files during caching or uploads, so best leave this as a regular\nvolume. Attach your PHP application into `/var/www/public`.\n\nIf your application can be separated into a public and a non-public part, attach\nit to `/var/www` instead and ensure the public bits live in a folder called\n`public`. This is typically used to separate static files (CSS, ECMAscripts,\nimages, fonts) and the index.php entrypoint from PHP libraries and (uploaded)\nfiles that should not be directly accessible for security reasons.\n\n- `/run`: PID files and sockets\n- `/tmp`: temporary data of PHP (i.e. sessions)\n- `/var/lib/unit`: temporary data of nginx unit (i.e. uploads, large responses)\n- `/var/www/public` or `/var/www`: contents of your PHP application - owner 100,\n  group 82, mode 0750\n\n## Network ports\n\n- `8080/tcp`: HTTP\n\n## Usage\n\n```shell\nmake help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrupf%2Fdocker-php-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonrupf%2Fdocker-php-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrupf%2Fdocker-php-mysql/lists"}