Symfony

A simple Symfony app that is connected to a Postgres database

Deploy Symfony

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.

Deploy on Railway

✨ 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.

Symfony architecture


Template Content

More templates in this category

View Template

mellow-vue

A full-stack Vue app with The Boring JavaScript Stack.


View Template

Sveltekit NestJS

Full-stack with SvelteKit + NestJS + Prisma + Postgresql with utils


View Template

.NET8 Web API

A basic ASP.NET Core Web API template (.NET 8)