Symfony
A simple Symfony app that is connected to a Postgres database
Worker Service
railwayapp-templates/symfony
Just deployed
Cron Service
railwayapp-templates/symfony
Just deployed
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
App Service
railwayapp-templates/symfony
Just deployed
Symfony Starter App
This is a Symfony starter app that connects to a Postgres database.
✨ Features
- PHP
- Symfony
- Postgres
This setup deploys your Symfony app on Railway, ensuring that your database, scheduled tasks (crons), and queue workers are all fully operational.
The deployment structure follows a "majestic monolith" architecture, where the entire Symfony app is managed as a single codebase but split into four separate services on Railway:
- App Service: Handles HTTP requests and user interactions.
- Cron Service: Manages scheduled tasks (e.g., sending emails or running reports).
- Worker Service: Processes background jobs from the queue.
- Database Service: Stores and retrieves your application's data.
Template Content
Worker Service
railwayapp-templates/symfonyCron Service
railwayapp-templates/symfonyApp Service
railwayapp-templates/symfony