{"id":22845366,"url":"https://github.com/alireaza/dockerized-laravel","last_synced_at":"2026-04-10T02:37:12.971Z","repository":{"id":195389234,"uuid":"558687385","full_name":"alireaza/dockerized-laravel","owner":"alireaza","description":"Laravel application in a Docker container","archived":false,"fork":false,"pushed_at":"2023-03-15T06:57:41.000Z","size":251,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T09:47:56.418Z","etag":null,"topics":["composer","docker","docker-compose","laravel","nginx","php","shell"],"latest_commit_sha":null,"homepage":"","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/alireaza.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},"funding":{"patreon":"alireaza"}},"created_at":"2022-10-28T04:11:29.000Z","updated_at":"2023-06-24T17:53:14.000Z","dependencies_parsed_at":"2023-09-17T18:59:06.587Z","dependency_job_id":null,"html_url":"https://github.com/alireaza/dockerized-laravel","commit_stats":null,"previous_names":["alireaza/dockerized-laravel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alireaza%2Fdockerized-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alireaza%2Fdockerized-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alireaza%2Fdockerized-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alireaza%2Fdockerized-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alireaza","download_url":"https://codeload.github.com/alireaza/dockerized-laravel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246421364,"owners_count":20774496,"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":["composer","docker","docker-compose","laravel","nginx","php","shell"],"created_at":"2024-12-13T03:16:56.428Z","updated_at":"2026-04-10T02:37:07.931Z","avatar_url":"https://github.com/alireaza.png","language":"PHP","funding_links":["https://patreon.com/alireaza"],"categories":[],"sub_categories":[],"readme":"# Dockerized Laravel based on [LEP](https://github.com/alireaza/lep)\nLaravel application in a Docker container\n\n## Install\n\nVia Composer\n```bash\n$ git clone https://github.com/alireaza/dockerized-laravel.git laravel\n$ cd laravel\n$ CURRENT_UID=$(id -u):$(id -g) docker-compose up --detach --build\n```\n\n\n### Some useful commands\n\n#### Start services\n```bash\n$ CURRENT_UID=$(id -u):$(id -g) docker-compose up --detach --build\n```\n\n#### Stop services\n```bash\n$ CURRENT_UID=$(id -u):$(id -g) docker-compose down\n```\n\n#### Fix services permissions\n```bash\n$ sudo chown -R $(id -u):$(id -g) {./nginx/,./php/,./src/}\n```\n\n#### Nginx Log\n```bash\n$ docker-compose logs --tail 100 --follow nginx\n```\n\n#### Nginx CLI\n```bash\n$ docker-compose exec nginx nginx -h\n```\n\n#### PHP Log\n```bash\n$ docker-compose logs --tail 100 --follow php\n```\n\n#### PHP CLI\n```bash\n$ docker-compose exec --user $(id -u):$(id -g) php php -h\n```\n\n#### Composer CLI\n```bash\n$ docker-compose exec --user $(id -u):$(id -g) php composer -h\n```\n\n#### Run dbgpProxy\n```bash\n$ docker-compose exec php /usr/bin/dbgpProxy --server 0.0.0.0:9003 --client 0.0.0.0:9001\n```\n\n#### Laravel artisan CLI:\n```bash\n$ docker-compose exec --user $(id -u):$(id -g) php php artisan\n```\n\n#### Fix Laravel storage permission:\n```bash\n$ docker-compose exec --user root php chown -R www-data:www-data /var/www/html/storage\n```\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falireaza%2Fdockerized-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falireaza%2Fdockerized-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falireaza%2Fdockerized-laravel/lists"}