[PR #545] React - Laravel - MySQL Compose sample #548

Open
opened 2025-11-06 14:28:30 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/docker/awesome-compose/pull/545
Author: @raghavendra89
Created: 1/1/2025
Status: 🔄 Open

Base: masterHead: react-laravel-mysql


📝 Commits (1)

  • a015fb5 React - Laravel - MySQL Compose sample

📊 Changes

92 files changed (+15657 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)
react-laravel-mysql/.env (+4 -0)
react-laravel-mysql/README.md (+73 -0)
react-laravel-mysql/backend/.dockerignore (+35 -0)
react-laravel-mysql/backend/.editorconfig (+18 -0)
react-laravel-mysql/backend/.env.example (+66 -0)
react-laravel-mysql/backend/.gitattributes (+11 -0)
react-laravel-mysql/backend/.gitignore (+23 -0)
react-laravel-mysql/backend/Dockerfile (+58 -0)
react-laravel-mysql/backend/README.md (+66 -0)
react-laravel-mysql/backend/app/Http/Controllers/Controller.php (+8 -0)
react-laravel-mysql/backend/app/Models/Config.php (+10 -0)
react-laravel-mysql/backend/app/Models/User.php (+48 -0)
react-laravel-mysql/backend/app/Providers/AppServiceProvider.php (+24 -0)
react-laravel-mysql/backend/artisan (+15 -0)
react-laravel-mysql/backend/bootstrap/app.php (+19 -0)
react-laravel-mysql/backend/bootstrap/cache/.gitignore (+2 -0)
react-laravel-mysql/backend/bootstrap/providers.php (+5 -0)
react-laravel-mysql/backend/composer.json (+75 -0)
react-laravel-mysql/backend/composer.lock (+8149 -0)

...and 72 more files

📄 Description

I was searching for a Docker Compose sample for a project using React, Laravel, and MySQL, but couldn't find any suitable examples. So, I created the Dockerfile and docker compose.yaml files by referring to other available samples. I'm sharing this example so others may find it helpful.

  • Frontend: React Js setup with Vite
  • Backend: Laravel installed on php:apache image
  • Database: MySQL database

Related to #544.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/docker/awesome-compose/pull/545 **Author:** [@raghavendra89](https://github.com/raghavendra89) **Created:** 1/1/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `react-laravel-mysql` --- ### 📝 Commits (1) - [`a015fb5`](https://github.com/docker/awesome-compose/commit/a015fb59f300196aca022e9554c3a14d8aa9f4d4) React - Laravel - MySQL Compose sample ### 📊 Changes **92 files changed** (+15657 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) ➕ `react-laravel-mysql/.env` (+4 -0) ➕ `react-laravel-mysql/README.md` (+73 -0) ➕ `react-laravel-mysql/backend/.dockerignore` (+35 -0) ➕ `react-laravel-mysql/backend/.editorconfig` (+18 -0) ➕ `react-laravel-mysql/backend/.env.example` (+66 -0) ➕ `react-laravel-mysql/backend/.gitattributes` (+11 -0) ➕ `react-laravel-mysql/backend/.gitignore` (+23 -0) ➕ `react-laravel-mysql/backend/Dockerfile` (+58 -0) ➕ `react-laravel-mysql/backend/README.md` (+66 -0) ➕ `react-laravel-mysql/backend/app/Http/Controllers/Controller.php` (+8 -0) ➕ `react-laravel-mysql/backend/app/Models/Config.php` (+10 -0) ➕ `react-laravel-mysql/backend/app/Models/User.php` (+48 -0) ➕ `react-laravel-mysql/backend/app/Providers/AppServiceProvider.php` (+24 -0) ➕ `react-laravel-mysql/backend/artisan` (+15 -0) ➕ `react-laravel-mysql/backend/bootstrap/app.php` (+19 -0) ➕ `react-laravel-mysql/backend/bootstrap/cache/.gitignore` (+2 -0) ➕ `react-laravel-mysql/backend/bootstrap/providers.php` (+5 -0) ➕ `react-laravel-mysql/backend/composer.json` (+75 -0) ➕ `react-laravel-mysql/backend/composer.lock` (+8149 -0) _...and 72 more files_ </details> ### 📄 Description I was searching for a Docker Compose sample for a project using **React, Laravel, and MySQL**, but couldn't find any suitable examples. So, I created the **Dockerfile** and docker **compose.yaml** files by referring to other available samples. I'm sharing this example so others may find it helpful. - Frontend: React Js setup with Vite - Backend: Laravel installed on php:apache image - Database: MySQL database Related to #544. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 14:28:30 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#548