Skip to content

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

Notifications You must be signed in to change notification settings

unicodeveloper/complete-laravel-on-railway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complete Laravel (Breeze, MySQL, Redis) on Railway

Deploy on Railway

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.

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 to reduce duplication of variables across multiple services.

Check out this complete deploy Laravel guide on Railway

License

This is open-sourced software licensed under the MIT license.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages