{"id":30882405,"url":"https://github.com/jguyomard/docker-laravel","last_synced_at":"2025-09-08T08:48:14.786Z","repository":{"id":37686699,"uuid":"101509719","full_name":"jguyomard/docker-laravel","owner":"jguyomard","description":":whale: Docker Images for Laravel development","archived":false,"fork":false,"pushed_at":"2019-09-10T08:51:03.000Z","size":14,"stargazers_count":110,"open_issues_count":2,"forks_count":63,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-11-07T19:30:00.015Z","etag":null,"topics":["docker","docker-compose","docker-image","laravel","mysql","nginx","php","postgresql","redis"],"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/jguyomard.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}},"created_at":"2017-08-26T19:54:30.000Z","updated_at":"2023-06-03T10:20:57.000Z","dependencies_parsed_at":"2022-08-25T15:10:45.871Z","dependency_job_id":null,"html_url":"https://github.com/jguyomard/docker-laravel","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/jguyomard/docker-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fdocker-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fdocker-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fdocker-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fdocker-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jguyomard","download_url":"https://codeload.github.com/jguyomard/docker-laravel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fdocker-laravel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274159651,"owners_count":25232636,"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-09-08T02:00:09.813Z","response_time":121,"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":["docker","docker-compose","docker-image","laravel","mysql","nginx","php","postgresql","redis"],"created_at":"2025-09-08T08:48:10.939Z","updated_at":"2025-09-08T08:48:14.764Z","avatar_url":"https://github.com/jguyomard.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Images for Laravel development\n[![Docker Build Status](https://img.shields.io/docker/build/jguyomard/laravel-php.svg?style=flat-square)](https://hub.docker.com/r/jguyomard/laravel-php/)\n[![Docker Build Status](https://img.shields.io/docker/build/jguyomard/laravel-nginx.svg?style=flat-square)](https://hub.docker.com/r/jguyomard/laravel-nginx/)\n[![Docker Build Status](https://img.shields.io/docker/build/jguyomard/laravel-capistrano.svg?style=flat-square)](https://hub.docker.com/r/jguyomard/laravel-capistrano/)\n\nThis repository provides you a development environment without requiring you to install PHP, a web server, and any other server software on your local machine. For this, it requires Docker and Docker Compose.\n\n\n## Installation\n\n1. Install [docker](https://docs.docker.com/engine/installation/) and [docker-compose](https://docs.docker.com/compose/install/) ;\n\n2. Copy `docker-compose.yml` file to your project root path, and edit it according to your needs ;\n\n3. From your project directory, start up your application by running:\n\n```sh\ndocker-compose up\n```\n4. If you want, you can run composer or artisan through docker. For instance:\n\n```sh\ndocker-compose exec php composer install\ndocker-compose exec php php artisan migrate\ndocker-compose exec php $yourCommandHere\n```\n\n\n## Docker Images\n\nThese docker images are configured in `docker-compose.yml` file.\nYou can comment or uncomment some services according to your project.\n\n* [`jguyomard/laravel-php:7.3`](https://hub.docker.com/r/jguyomard/laravel-php/) (this docker image extends `php:7.3-fpm-alpine` to add some PHP extensions) ;\n* [`jguyomard/laravel-nginx:1.13`](https://hub.docker.com/r/jguyomard/laravel-nginx/) (this docker image extends `nginx:1.13-alpine` to add Laravel vhost) ;\n* `mysql:5.7` ;\n* `postgres:9.6-alpine` ;\n* `redis:4.0-alpine` ;\n* `elasticsearch:5.5-alpine`.\n\n\n## Other tools\n\nThis repository also comes with a caspistrano docker image: [`jguyomard/laravel-capistrano:3.9`](https://hub.docker.com/r/jguyomard/laravel-capistrano/).\n\nFor ease of use, you can create a bash alias:\n\n```\nalias cap='docker run --rm --user cap -v \"$PWD\":/src -v \"$(dirname $SSH_AUTH_SOCK)\":\"$(dirname $SSH_AUTH_SOCK)\" -e SSH_AUTH_SOCK=\"${SSH_AUTH_SOCK}\" jguyomard/laravel-capistrano:3.9 cap'\n```\n\n\n## Contributing\n\nContributions are welcome!\nLeave an issue on Github, or create a Pull Request.\n\n\n## Licence\n\nThis work is under [MIT](LICENCE) licence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjguyomard%2Fdocker-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjguyomard%2Fdocker-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjguyomard%2Fdocker-laravel/lists"}