An open API service indexing awesome lists of open source software.

https://github.com/unicodeveloper/complete-laravel-on-railway

This starter app deploys a simple majestic Laravel monolith with 5 (web, worker, cron, mysql, and redis) services on Railway
https://github.com/unicodeveloper/complete-laravel-on-railway

deploy deploy-laravel-app laravel railway

Last synced: 3 months ago
JSON representation

This starter app deploys a simple majestic Laravel monolith with 5 (web, worker, cron, mysql, and redis) services on Railway

Awesome Lists containing this project

README

          

## Complete Laravel (Breeze, MySQL, Redis) on Railway

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/Gkzn4k?referralCode=yuv1Gy)

This complete Laravel starter template deploys a **Laravel Breeze app** as a _**majestic monolith**_ that is connected to a MySQL database and Redis Cache on [Railway Paas](https://railway.app).

It spins up 5 services with the same codebase:
- **web service**: This runs the app.
- **worker service**: This runs the Laravel queue workers.
- **cron service**: This runs the Laravel scheduler and takes care of all cron tasks.
- **MySQL**: This is the MySQL database that the app is connected to.
- **Redis**: This is the queue and cache store/database that the app is connected to.

## Configuration

- Deploy the template on Railway.
- And that's it. You are good to go!
**Note:** You can use [shared variables](https://docs.railway.app/guides/variables#shared-variables) to reduce duplication of variables across multiple services.

Check out [this complete deploy Laravel guide on Railway](https://docs.railway.app/guides/laravel)

## License

This is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).