Deploy Laravel Blade (MariaDB)
Laravel Blade app powered by FrankenPHP and MariaDB
MariaDB
Just deployed
/var/lib/mysql
Just deployed
Just deployed
Just deployed
Files
Bucket
Just deployed
Deploy and Host Laravel Blade (MariaDB) on Railway
Laravel Blade (MariaDB) deploys the Laravel application skeleton with Blade views and Vite, without a starter kit. It runs an APP service on the Server Side Up FrankenPHP image, dedicated Queue and Scheduler workers, a managed MariaDB database and S3-compatible file storage on a Railway Bucket.
About Hosting Laravel Blade (MariaDB)
This template builds the application from the public repository https://github.com/hosmelq/railway-template-laravel-blade with its own Dockerfiles. Railway builds three services from the same source: APP serves the site on port 8080 and runs database migrations when it starts, Queue runs php artisan queue:work, and Scheduler runs php artisan schedule:work. MariaDB also stores cache, sessions and queued jobs, as Laravel does by default. Uploaded files go to the bucket through Laravel's s3 disk. Variables such as APP_KEY, APP_URL, the database URL and the bucket credentials are preconfigured, and the health check uses /up.
Common Use Cases
- Starting a new Laravel application with production infrastructure from day one.
- Deploying prototypes that can grow into production apps without a rewrite.
- Standardizing how Laravel projects are deployed across a team.
Dependencies for Laravel Blade (MariaDB) Hosting
- MariaDB database, provisioned automatically.
- Railway Bucket for uploaded files, provisioned automatically.
Deployment Dependencies
- https://laravel.com/docs
- https://github.com/hosmelq/railway-template-laravel-blade
- https://serversideup.net/open-source/docker-php/
Implementation Details
Mail uses Laravel's log mailer by default. Railway blocks SMTP below the Pro plan, so send real mail through an HTTPS API provider such as Resend, Postmark or Mailgun.
To customize the application, eject the services in Railway or fork https://github.com/hosmelq/railway-template-laravel-blade. The repository is regenerated monthly from the official Laravel installer, so pull its updates into your copy when you want them.
Why Deploy Laravel Blade (MariaDB) on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Laravel Blade (MariaDB) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
MariaDB
mariadb:11.8Files
Bucket