{"id":20757157,"url":"https://github.com/dehsilvadeveloper/setup-docker-laravel10","last_synced_at":"2026-04-13T14:32:06.369Z","repository":{"id":186396504,"uuid":"675109770","full_name":"dehsilvadeveloper/setup-docker-laravel10","owner":"dehsilvadeveloper","description":"This is a setup for use Docker and Laravel 10","archived":false,"fork":false,"pushed_at":"2023-08-11T17:21:57.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-31T23:33:20.781Z","etag":null,"topics":["docker","docker-compose","laravel10","makefile","mysql","redis"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/dehsilvadeveloper.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-05T20:10:07.000Z","updated_at":"2024-03-10T12:39:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb9b48c6-415e-4771-b002-fc11a4493524","html_url":"https://github.com/dehsilvadeveloper/setup-docker-laravel10","commit_stats":null,"previous_names":["dehsilvadeveloper/setup-docker-laravel10"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dehsilvadeveloper/setup-docker-laravel10","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehsilvadeveloper%2Fsetup-docker-laravel10","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehsilvadeveloper%2Fsetup-docker-laravel10/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehsilvadeveloper%2Fsetup-docker-laravel10/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehsilvadeveloper%2Fsetup-docker-laravel10/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dehsilvadeveloper","download_url":"https://codeload.github.com/dehsilvadeveloper/setup-docker-laravel10/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehsilvadeveloper%2Fsetup-docker-laravel10/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","laravel10","makefile","mysql","redis"],"created_at":"2024-11-17T09:40:03.684Z","updated_at":"2026-04-13T14:32:06.349Z","avatar_url":"https://github.com/dehsilvadeveloper.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup Docker for Laravel 10 Projects\n\nThis is a setup elabored to create a dockerized environment for a Laravel v10.x project.\n\n## Build with\n\n| Name       | Version  |\n| ---------- | -------- |\n| Laravel | v10.x |\n| PHP | v8.2.x |\n| Docker | v20.10.x |\n| Docker Compose | v3.8.x |\n| Redis | v6.2.x |\n| Mysql | v8.0.x |\n\n## Step by Step\n\n### Step 1\n\nClone the Laravel files from the official repository. This will get the latest version (**10** at the time of the creation of this setup).\n\n```sh\ngit clone https://github.com/laravel/laravel.git my-laravel-application\n```\n\n### Step 2\n\nClone this repository.\n\n```sh\ngit clone https://github.com/dehsilvadeveloper/setup-docker-laravel10.git setup-docker-laravel10\n```\n\n### Step 3\n\nCopy the files from the folder **setup-docker-laravel10** to the folder of the Laravel application.\n\n```sh\ncp setup-docker-laravel10/* my-laravel-application/\n```\n\n### Step 4\n\nRemove the folder **setup-docker-laravel10**.\n\n```sh\nrm -rf setup-docker-laravel10/\n```\n\n### Step 5\n\nAccess the Laravel application folder.\n\n```sh\ncd my-laravel-application/\n```\n\n### Step 6\n\nVerify the following files and change **names** to consider the name of your application:\n\n- .env.example\n- .env.testing\n- docker-compose.yml\n- .docker/mysql/scripts/initdb.sql\n\nYou can change database name, docker network name and application name, for example.\n\n```\nDB_DATABASE=application_database\n\ncould be changed to\n\nDB_DATABASE=laravel_blog\n```\n\n### Step 7\n\nInstall the application using the Makefile.\n\n```sh\nmake start-install\n```\n\n### Step 8\n\nAccess the project via url.\n\n```\nhttp://localhost:9999\n```\n\n## Connecting to the MYSQL database\n\nTo connect to the MYSQL database using a program like **Mysql Workbench**, you can use the following information.\n\n```\nhostname: localhost\nport: 3398\nusername: root\npassword: root\n```\n\n## About Make scripts\n\nYou can check more about the Make scripts available using the help.\n\n```sh\nmake help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdehsilvadeveloper%2Fsetup-docker-laravel10","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdehsilvadeveloper%2Fsetup-docker-laravel10","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdehsilvadeveloper%2Fsetup-docker-laravel10/lists"}