{"id":15188588,"url":"https://github.com/shimotaroo/docker-laravel-vue","last_synced_at":"2026-03-04T15:01:59.759Z","repository":{"id":110677160,"uuid":"337563089","full_name":"shimotaroo/docker-laravel-vue","owner":"shimotaroo","description":"Environment construction source by Docker × Laravel × Vue.js","archived":false,"fork":false,"pushed_at":"2021-05-16T06:45:57.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T06:25:02.648Z","etag":null,"topics":["docker","docker-compose","laravel6","vuejs2"],"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/shimotaroo.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":"2021-02-09T23:18:46.000Z","updated_at":"2021-05-16T06:46:00.000Z","dependencies_parsed_at":"2023-05-13T06:00:43.713Z","dependency_job_id":null,"html_url":"https://github.com/shimotaroo/docker-laravel-vue","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"fcb98ad3758b6d6b6c320635e581cdbb954a3846"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shimotaroo/docker-laravel-vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotaroo%2Fdocker-laravel-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotaroo%2Fdocker-laravel-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotaroo%2Fdocker-laravel-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotaroo%2Fdocker-laravel-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shimotaroo","download_url":"https://codeload.github.com/shimotaroo/docker-laravel-vue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimotaroo%2Fdocker-laravel-vue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30084685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T13:22:36.021Z","status":"ssl_error","status_checked_at":"2026-03-04T13:20:45.750Z","response_time":59,"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","laravel6","vuejs2"],"created_at":"2024-09-27T19:23:06.046Z","updated_at":"2026-03-04T15:01:59.734Z","avatar_url":"https://github.com/shimotaroo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel + Vue.js（JavaScript）のDocker環境構築\n\n## version\n\n- Laravel : 6.x\n- Vue.js : 2.6.12\n\n## attention\n\n- M1 Mac未対応\n## clone\n\n```\n$ git clone https://github.com/shimotaroo/docker-laravel-vue.git\n$ cd docker-laravel-vue\n```\n## .env作成\n\n- `.env.example`をコピーして`.env`を作成して各項目に値を定義する。\n- `docker-compose config`で`.env`に設定した環境変数が`docker-compose.yml`にセットされているか確認する。\n## Build \u0026 Up\n\n```\n$ docker-compose up -d --build\n```\n\n## コンテナ起動状態を確認\n\n```\n$ docker-compose ps\n```\n\n3つのコンテナが`Up`になっていたら正常に起動している。\n\n## src/.env作成\n\n```\n$ cd src\n$ cp .env.example .env\n```\n\n## Package Install\n\nappコンテナに入る\n\n```\n$ docker-compose exec app bash\n```\n\n以降は全てappコンテナ内で実行\n\n```\ncomposer install\nphp artisan key:generate\nnpm install\n```\n\n## browerSync起動\n\nappコンテナ内で実行\n\n```\nnpm run watch\n```\n\n※`docker-compose.yml`の以下の記載が無いとエラーになる\n\n```yml\n    ports:\n      - ${APP_PORT}:3000\n\n```\n\n## Docker Compose Command\n\n```\nイメージをビルド\n$ docker-compose build\n\nコンテナ起動\n$ docker-compose up -d\n\nイメージをビルド＋コンテナ起動\n$ docker-compose up -d --build\n\nコンテナ終了（削除）\n$ docker-compose down\n\nコンテナ再起動\n$ docker-compose restart\n```\n\n## 関連記事\n\n- [【導入編】絶対に失敗しないDockerでLaravel + Vue.jsの開発環境（LEMP環境）を構築する方法〜MacOS Intel Chip対応〜](https://yutaro-blog.net/2021/04/28/docker-laravel-vuejs-intel-1/)\n- [【前編】絶対に失敗しないDockerでLaravel + Vue.jsの開発環境（LEMP環境）を構築する方法〜MacOS Intel Chip対応〜](https://yutaro-blog.net/2021/04/29/docker-laravel-vuejs-2/)\n- [【後編】絶対に失敗しないDockerでLaravel + Vue.jsの開発環境（LEMP環境）を構築する方法〜MacOS Intel Chip対応〜](https://yutaro-blog.net/2021/04/30/docker-laravel-vuejs-3/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimotaroo%2Fdocker-laravel-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshimotaroo%2Fdocker-laravel-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimotaroo%2Fdocker-laravel-vue/lists"}