All Templates / Starters

Symfony

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


Deploy Now

Details

Prosper Otemuyiwa

Created on Nov 12, 2024

3 total projects

2 active projects

75% success on recent deploys

PHP, Shell, JavaScript, Twig, CSS

Starters



More templates in this category

View Template

New

Django Monolith

Django Monolith

A Django app connected to a Postgres database with Celery and Celery Beat.


Prosper Otemuyiwa

View Template
TanStack + React Starter

TanStack + React Starter

A barebones TypeScript React starter with TanStack Router & Query setup


Kyle Gill

View Template

New

Scala Play

Scala Play

A simple Play framework app connected to a Postgres database.


Prosper Otemuyiwa