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
- Host: GitHub
- URL: https://github.com/unicodeveloper/complete-laravel-on-railway
- Owner: unicodeveloper
- Created: 2024-08-25T15:17:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T18:54:05.000Z (11 months ago)
- Last Synced: 2025-06-05T07:38:03.216Z (4 months ago)
- Topics: deploy, deploy-laravel-app, laravel, railway
- Language: PHP
- Homepage: https://railway.app/template/Gkzn4k
- Size: 146 KB
- Stars: 12
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Complete Laravel (Breeze, MySQL, Redis) on Railway
[](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).