{"id":16201973,"url":"https://github.com/d8vjork/laravel-docker","last_synced_at":"2026-05-06T19:31:45.025Z","repository":{"id":177680199,"uuid":"174742203","full_name":"d8vjork/laravel-docker","owner":"d8vjork","description":"A simple preset for use Docker with Laravel","archived":false,"fork":false,"pushed_at":"2019-04-26T10:16:42.000Z","size":174,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T20:35:44.503Z","etag":null,"topics":["docker","docker-image","laravel","scaffold"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/d8vjork.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-09T20:22:36.000Z","updated_at":"2020-01-19T09:04:27.000Z","dependencies_parsed_at":"2023-07-09T06:31:52.463Z","dependency_job_id":null,"html_url":"https://github.com/d8vjork/laravel-docker","commit_stats":null,"previous_names":["d8vjork/laravel-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d8vjork%2Flaravel-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d8vjork%2Flaravel-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d8vjork%2Flaravel-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d8vjork%2Flaravel-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d8vjork","download_url":"https://codeload.github.com/d8vjork/laravel-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247712927,"owners_count":20983680,"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":["docker","docker-image","laravel","scaffold"],"created_at":"2024-10-10T09:45:04.572Z","updated_at":"2026-05-06T19:31:44.980Z","avatar_url":"https://github.com/d8vjork.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/laravel-5.8-orange.svg) ![](https://img.shields.io/badge/php-7.1-blue.svg) ![](https://img.shields.io/badge/prod-not%20ready-red.svg) ![](https://img.shields.io/badge/dev-ready-green.svg)\n\n# Laravel + Docker = ❤️\n\nA simple Laravel preset for use Docker as a wrapper of it (forgot the idea of use php serve/artisan serve anymore).\n\n## Purpose\n\nThe main idea is try to help people integrate Docker in their local environment and jump into the production environment without big jumps (aka fridays headaches).\n\n**Important!** Don't try this first if you're not familiar with Docker and/or you don't even have it installed in your computer.\n\n## Installation\n\nClone this repo into your project's folder.\n\nNext copy the _.env.example_ to _.env_ (the one of the root folder), and change the `APP_SLUG` for something that will be used to prefix all the containers of your app.\n\nFinally run `make build`, and enjoy!\n\n**Important!** For complete the installation you may run `make dev` once the build fires up the services, read above for more info.\n\n### Windows\n\nOn windows, as always, requires extra steps. You need to install [chocolatey](https://chocolatey.org/install) from your PowerShell or CMD (**check the link for more information**).\n\nAnd install make using this (a ported one from GNU): \n\n```\nchoco install make\n```\n\n### Configuration\n\nAll the configuration is based in one single _.env_ file (the root one) **except for the `APP_KEY`**, this one is on the Laravel application folder otherwise you can't regenerate it using the artisan CLI (which is generated by `make key-gen`).\n\nAdd the rest of the Laravel _.env_ configuration key-values on the root _.env_ file using `APP_*` and don't forget to copy them and pass all on the _docker-compose.yml_ file (**on the php service**).\n\n## Folder structure\n\n- application : Root folder for your Laravel application\n- docker : Folder for all the Docker services files\n\n## Makefile\n\nMakefile is the best tool where you can use whatever you want, the idea is to simplify the learning curve without those big commands when we always spend some time finding for guides. \n\n```\nmake build - Build application container and run all the services\nmake rebuild - Rebuild application container without any cache (REMOVE EVERYTHING)\nmake start - Start all the services\nmake stop - Stop all the services\n\nmake jumpin - Go to the Terminal of the application container\nmake seed - Run seeders from your Laravel application\nmake test - Run phpunit tests in your application container\nmake dev - Install all the dependencies needed for the application\n\nmake up - Alias of start\nmake down - Alias of stop\nmake restart - Run a down/up\n```\n\n**Update: Check `make` or `make help` for display all the commands.**\n\nIf you need more, you can always digging deeper into the [Makefile](https://github.com/d8vjork/laravel-docker/blob/master/Makefile).\n\n## Extras\n\nOn [the wiki](https://github.com/d8vjork/laravel-docker/wiki) you'll found much more useful stuff.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd8vjork%2Flaravel-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd8vjork%2Flaravel-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd8vjork%2Flaravel-docker/lists"}