{"id":17096122,"url":"https://github.com/ega4432/lara-docker","last_synced_at":"2026-04-07T16:32:01.487Z","repository":{"id":115176788,"uuid":"225622556","full_name":"ega4432/lara-docker","owner":"ega4432","description":":whale: Build the docker containers for Laravel local environment","archived":false,"fork":false,"pushed_at":"2020-04-01T12:48:26.000Z","size":20,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T03:36:56.620Z","etag":null,"topics":["docker","docker-compose","github-actions","lara-docker","laravel","laravel-environment","mysql","nginx","php"],"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/ega4432.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":"2019-12-03T13:07:57.000Z","updated_at":"2020-05-20T05:39:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b1818cf-1e06-4f57-9d35-c741220e9338","html_url":"https://github.com/ega4432/lara-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ega4432/lara-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ega4432%2Flara-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ega4432%2Flara-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ega4432%2Flara-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ega4432%2Flara-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ega4432","download_url":"https://codeload.github.com/ega4432/lara-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ega4432%2Flara-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31520470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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","github-actions","lara-docker","laravel","laravel-environment","mysql","nginx","php"],"created_at":"2024-10-14T14:44:41.303Z","updated_at":"2026-04-07T16:32:01.470Z","avatar_url":"https://github.com/ega4432.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lara-docker\n\n![Docker Image CI](https://github.com/yossiee/lara-docker/workflows/Docker%20Image%20CI/badge.svg)\n\n## Overview\nThis is a repository for building Laravel environment with docker (docker-compose).\nThe base container image of the software used and its version are as follows.\n\n| Software | base container image |\n| :---: | :---: |\n| php | [7.3-fpm-alpine](https://hub.docker.com/_/php) |\n| mysql | [8.0](https://hub.docker.com/_/mysql) |\n| nginx | [1.17-alpine](https://hub.docker.com/_/nginx) |\n| redis | [5.0-alpine](https://hub.docker.com/_/redis) |\n| node | [13.10-alpine](https://hub.docker.com/_/node) |\n\n## Setup\n### Requirements\n\n```\n❯ docker -v\nDocker version 19.03.5, build 633a0ea\n\n❯ docker-compose -v\ndocker-compose version 1.24.1, build 4667896b\n```\n\n### Build and Up\n\n```\n❯ docker-compose build\n❯ docker-compose up -d\n```\n\nor\n\n```\n❯ docker-compose up -d --build\n```\n\n### Excute command\n\n```\n❯ docker-compose exec app [ service name ] ash [ command ( ex: php -v ) ]\n```\n\n### Stop and Remove containers\n\n```\n❯ docker-compose down\n```\n\n## Install Laravel\n\n```\n❯ docker-compose exec app ash\n/work # composer create-project --prefer-dist \"laravel/laravel=6.0.*\" .\n\n/work # php artisan -V\nLaravel Framework 6.6.1\n```\n\n## Supplements\n### Connect to MySQL\n\n```\n$ docker-compose exec db bash -c 'mysql -uroot -p${MYSQL_PASSWORD} ${MYSQL_DATABASE}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fega4432%2Flara-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fega4432%2Flara-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fega4432%2Flara-docker/lists"}