{"id":22888254,"url":"https://github.com/kentaroutakeda/laravel-docker","last_synced_at":"2025-05-07T11:45:25.475Z","repository":{"id":105802542,"uuid":"551788480","full_name":"KentarouTakeda/laravel-docker","owner":"KentarouTakeda","description":"Laravel application development environment using Docker Compose and VSCode","archived":false,"fork":false,"pushed_at":"2024-11-29T14:31:35.000Z","size":2272,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-07T04:27:35.998Z","etag":null,"topics":["dokcer","framework","laravel","php","vscode"],"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/KentarouTakeda.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":"2022-10-15T05:01:21.000Z","updated_at":"2024-11-29T14:30:53.000Z","dependencies_parsed_at":"2024-01-09T05:41:45.224Z","dependency_job_id":"f6f6687e-34b4-4909-a82d-92ed7b9e51a0","html_url":"https://github.com/KentarouTakeda/laravel-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KentarouTakeda%2Flaravel-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KentarouTakeda%2Flaravel-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KentarouTakeda%2Flaravel-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KentarouTakeda%2Flaravel-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KentarouTakeda","download_url":"https://codeload.github.com/KentarouTakeda/laravel-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229614597,"owners_count":18099063,"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":["dokcer","framework","laravel","php","vscode"],"created_at":"2024-12-13T20:47:31.505Z","updated_at":"2024-12-13T20:47:31.977Z","avatar_url":"https://github.com/KentarouTakeda.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# laravel-docker\n\n## 概要\n\n* 多くのアプリケーションで必要となる環境設定を全て終えた状態のLaravel実行環境。\n* PostgreSQL, MySQL 両対応。`docker-compose.yml` はPostgreSQLを想定。\n* VSCode Remote Containers と併せて使うことで必要な開発ツールが全てインストールされる。\n\n## 接続（VSCode）\n\n* [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) をインストール\n* このリポジトリをワークスペースとして開く\n* コマンドパレットより次のコマンドを実行  \n  \u003e Dev Containers: **Reopen in Container**  \n  \u003e 開発コンテナー: コンテナーで再度開く  \n\n## セットアップ（初回のみ）\n\n\u003e \\# *URL* には対象プロジェクトのリポジトリURLを指定  \n\u003e *container $* git clone *URL* **./**  \n\u003e *container $* composer install  \n\u003e *container $* npm install  \n\u003e *container $* ./artisan migrate:fresh --seed  \n\u003e *container $* npm run build  \n\n\n## ER図の出力\n\n\u003e *host $* docker compose -f docker-compose.yml -f docker-compose.schemaspy.yml run --rm schemaspy\n\n* *schema/* ディレクトリ配下にER図が出力される\n\n## URL\n\n|アプリケーション|URL|\n|-|-|\n|Laravel|http://localhost:8000/|\n|Mailpit|http://localhost:8025/|\n\n## .env によるカスタマイズ（任意）\n\n|環境変数|意味|デフォルト|\n|-|-|-|\n|APP_DEBUG|Laravel設定|true|\n|PORT_WEB_APP|公開ポート / Laravel|8000|\n|PORT_PGSQL|公開ポート / PostgreSQL|0 *非公開*|\n|PORT_WEB_MAIL|公開ポート / Mailpit|8025|\n|PORT_BROWSERSYNC|公開ポート / Browsersync|3000|\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentaroutakeda%2Flaravel-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentaroutakeda%2Flaravel-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentaroutakeda%2Flaravel-docker/lists"}