{"id":15188813,"url":"https://github.com/elmarcelfarias/laravel9","last_synced_at":"2026-01-28T20:02:50.371Z","repository":{"id":229071186,"uuid":"775593215","full_name":"ElMarcelFarias/laravel9","owner":"ElMarcelFarias","description":"Repositório para documentar estudos sobre o framework Laravel9, a utilização de container e imagens com docker e integração com o banco de dados MySQL","archived":false,"fork":false,"pushed_at":"2024-03-28T19:50:19.000Z","size":16773,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T10:24:15.080Z","etag":null,"topics":["docker","docker-compose","laravel9","mysql","php8"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/ElMarcelFarias.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":"2024-03-21T17:14:05.000Z","updated_at":"2024-03-27T18:50:58.000Z","dependencies_parsed_at":"2024-09-18T16:35:25.102Z","dependency_job_id":"71d196b6-eede-43d9-ba42-8bc0c08dc75c","html_url":"https://github.com/ElMarcelFarias/laravel9","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.05882352941176472,"last_synced_commit":"29bdc769423fa51eb5e7553e0a2fa992ac81c96a"},"previous_names":["elmarcelfarias/laravel9"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElMarcelFarias%2Flaravel9","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElMarcelFarias%2Flaravel9/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElMarcelFarias%2Flaravel9/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElMarcelFarias%2Flaravel9/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElMarcelFarias","download_url":"https://codeload.github.com/ElMarcelFarias/laravel9/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233328593,"owners_count":18659471,"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-compose","laravel9","mysql","php8"],"created_at":"2024-09-27T19:42:43.731Z","updated_at":"2026-01-28T20:02:50.320Z","avatar_url":"https://github.com/ElMarcelFarias.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Setup Docker Para Projetos Laravel\n\n### Passo a passo\nClone Repositório\n```sh\ngit clone https://github.com/especializati/setup-docker-laravel.git my-project\n```\n```sh\ncd my-project/\n```\n\n\nAlterne para a branch laravel 9.x\n```sh\ngit checkout laravel-9-com-php-8\n```\n\n\nRemova o versionamento (opcional)\n```sh\nrm -rf .git/\n```\n\n\nCrie o Arquivo .env\n```sh\ncp .env.example .env\n```\n\n\nAtualize as variáveis de ambiente do arquivo .env\n```dosini\nAPP_NAME=\"Especializa Ti\"\nAPP_URL=http://localhost:8989\n\nDB_CONNECTION=mysql\nDB_HOST=mysql\nDB_PORT=3306\nDB_DATABASE=nome_que_desejar_db\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\n\nSuba os containers do projeto\n```sh\ndocker-compose up -d\n```\n\n\nAcesse o container app com o bash\n```sh\ndocker-compose exec app bash\n```\n\n\nInstale as dependências do projeto\n```sh\ncomposer install\n```\n\n\nGere a key do projeto Laravel\n```sh\nphp artisan key:generate\n```\n\n\nAcesse o projeto\n[http://localhost:8989](http://localhost:8989)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felmarcelfarias%2Flaravel9","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felmarcelfarias%2Flaravel9","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felmarcelfarias%2Flaravel9/lists"}