{"id":13448946,"url":"https://github.com/andrewmclagan/nginx-hhvm-docker","last_synced_at":"2025-03-18T20:47:44.572Z","repository":{"id":148897362,"uuid":"51975897","full_name":"andrewmclagan/nginx-hhvm-docker","owner":"andrewmclagan","description":"Super fast and production hardened: Nginx, HHVM, Composer, PHPUnit - Docker container.","archived":false,"fork":false,"pushed_at":"2020-01-13T22:46:29.000Z","size":27,"stargazers_count":88,"open_issues_count":0,"forks_count":25,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-24T23:18:57.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewmclagan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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}},"created_at":"2016-02-18T03:27:43.000Z","updated_at":"2024-05-21T08:13:05.000Z","dependencies_parsed_at":"2023-07-16T23:45:36.621Z","dependency_job_id":null,"html_url":"https://github.com/andrewmclagan/nginx-hhvm-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmclagan%2Fnginx-hhvm-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmclagan%2Fnginx-hhvm-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmclagan%2Fnginx-hhvm-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmclagan%2Fnginx-hhvm-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewmclagan","download_url":"https://codeload.github.com/andrewmclagan/nginx-hhvm-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244306067,"owners_count":20431737,"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-07-31T06:00:25.826Z","updated_at":"2025-03-18T20:47:44.549Z","avatar_url":"https://github.com/andrewmclagan.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"## Deprecated\n\nPLease use: https://github.com/beam-australia/laravel-docker\n\nNo longer maintained.\n\n# laravel-hhvm-docker\n\nA super fast, production hardened HHVM / PHP-7 `Dockerfile` served by Nginx forward proxy. See [link](http://goo.gl/Adqu0i) for the why. Perfect for horizontally distributed `Laravel` applications run within a Docker container cluster.\n\n**Note** due to issues with Boot2Docker and VirtualBox response times on a local environment (with these tools) is slightly degraded with local volumes enabled.\n\n**Note** Installs [hirak/prestissimo](https://github.com/hirak/prestissimo) composer parallel install plugin. If you have issues with composer installs remove this plugin.\n\n## Stack\n\n* **HHVM** (Facebooks PHP-7 runtime)\n* **Nginx** (FastCGI web-server)\n* **Composer** (PHP package manager)\n* **PHPUnit** (PHP unit testing)\n\n## Usage\n\nPreferably used in a horizontally scaled Docker container environment (such as docker-compose) run alongside other services such as Redis and MariaDB.\n\nCD into your cloned repository\n\n````Bash\ncd nginx-hhvm-docker\n````\n\nFirstly lets scale the `web` servers, from your project execute:\n\n````Bash\ndocker-compose scale web=3\n````\n\nNow we boot the rest of the services by executing:\n\n````Bash\ndocker-compose up\n````\n\nVoila! simply visit `nginx-hhvm.app` and you have a fully load-balanced, horizintally scaled application inferstructure!\n\n**NOTE:** Make sure you add `nginx-hhvm.app` to your hosts file if developing locally with the IP address of the `docker-machine` instance.\n\n## Configuration\n\nWe reccomend you create your own Dockerfile build, based upon this image.\n\nImage is based upon the official nginx docker repository, see [git repo](https://github.com/nginxinc/docker-nginx) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmclagan%2Fnginx-hhvm-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewmclagan%2Fnginx-hhvm-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmclagan%2Fnginx-hhvm-docker/lists"}