{"id":20162479,"url":"https://github.com/willavelar/docker-for-laravel","last_synced_at":"2026-04-14T04:31:14.389Z","repository":{"id":210271883,"uuid":"726058493","full_name":"willavelar/docker-for-laravel","owner":"willavelar","description":"files for laravel configuration with docker, mysql and redis","archived":false,"fork":false,"pushed_at":"2023-12-01T17:33:22.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T02:45:05.958Z","etag":null,"topics":["docker","docker-compose","laravel","mysql","redis"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/willavelar.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,"governance":null}},"created_at":"2023-12-01T12:55:39.000Z","updated_at":"2023-12-01T17:34:02.000Z","dependencies_parsed_at":"2023-12-01T18:42:20.676Z","dependency_job_id":"3a0b2f85-74da-4c28-ac2b-309ad729f980","html_url":"https://github.com/willavelar/docker-for-laravel","commit_stats":null,"previous_names":["willavelar/laravel-with-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willavelar/docker-for-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fdocker-for-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fdocker-for-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fdocker-for-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fdocker-for-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willavelar","download_url":"https://codeload.github.com/willavelar/docker-for-laravel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fdocker-for-laravel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","laravel","mysql","redis"],"created_at":"2024-11-14T00:25:19.646Z","updated_at":"2026-04-14T04:31:14.371Z","avatar_url":"https://github.com/willavelar.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker for Laravel\n\n![DockerVersion Support](https://img.shields.io/badge/docker-23%2B-brightgreen.svg?style=flat-square) ![Composer Version Support](https://img.shields.io/badge/docker%20compose-2.17%2B-brightgreen.svg?style=flat-square)\n\nFiles for quick Laravel configuration with  Docker Compose, customizable for different version levels\n\n-----\n\n### Instalation\n\n1. Clone this repository\n```sh\ngit clone https://github.com/willavelar/docker-for-laravel.git\n```\n\n2. Clone the Laravel repository\n```sh\ngit clone https://github.com/laravel/laravel.git app-laravel\n```\n\n3. Copy the files from this project to laravel\n```sh\ncp -rf laravel-with-docker/* app-laravel/\n```\n```sh\ncd app-laravel/\n```\n\n4. Create the .env file\n```sh\ncp .env.example .env\n```\n\n\n5. Add the following lines at the end of .gitignore\n\n```dosgitignore\n/.docker\n```\n\n6. Create .env file in laravel project\n```sh\ncp .env.example .env\n```\n\n7. Update the .env file environment variables\n```dosini\nAPP_NAME=\"Webapp name\"\nAPP_URL=http://localhost:8989\n\nDB_CONNECTION=mysql\nDB_HOST=db\nDB_PORT=3306\nDB_DATABASE=laravel\nDB_USERNAME=root\nDB_PASSWORD=root\n\nCACHE_DRIVER=redis\nQUEUE_CONNECTION=redis\nSESSION_DRIVER=redis\n\nREDIS_HOST=redis\nREDIS_PASSWORD=null\nREDIS_PORT=6379\n```\n\n8. Upload project containers\n```sh\ndocker-compose up -d\n```\n\n\n9. Access the container\n```sh\ndocker-compose exec app bash\n```\n\n\n10. Install project dependencies\n```sh\ncomposer install\n```\n\n\n11. Generate the Laravel project key\n```sh\nphp artisan key:generate\n```\n\n\nAcessar o projeto\n[http://localhost:8989](http://localhost:8989)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillavelar%2Fdocker-for-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillavelar%2Fdocker-for-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillavelar%2Fdocker-for-laravel/lists"}