Dockerビルド ・git clone https://github.com/sakura693/marketplace ・docker-compose up -d --build
- docker-compose exec php bash
- composer install
- .envに以下の環境変数を追加 DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=laravel_db DB_USERNAME=laravel_user DB_PASSWORD=laravel_pass
- php artisan key:generate
- php artisan migrate
- php artisan db:seed
・商品一覧画面:http://localhost/ ・ユーザ登録画面:http://localhost/register ・phpmyadmin:http://localhost:8080/
・PHP 8.3.9 ・Laravel 8.83.27 ・MySQL 8.0.26 ・nginx 1.18.0