---
title: "Deploy Payload CMS Template"
description: "A setup for Payload using postgreSQL"
category: "CMS"
url: https://railway.com/deploy/3QUkyF
---

# Deploy Payload CMS Template

A setup for Payload using postgreSQL

**[Deploy Payload CMS Template on Railway](https://railway.com/template/3QUkyF)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/3QUkyF/manifest.json

- **Creator:** madebyjonny's Projects
- **Category:** CMS
- **Total deploys:** 333

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:latest

### Payload CMS Template (PostGres)

- **Source:** https://github.com/madebyjonny/payload-template
- **Start command:** `npm run payload migrate & npm run serve`

## Documentation

Basic setup for deploying Payload CMS with Postgres. 


There is a migration script that runs before the npm run serve command which you may want to change, but this was the only way it seems in production to get this to fire. Open to suggestions on this. 

## Similar templates

- [Libredesk - Complete Setup](https://railway.com/deploy/libredesk-complete-setup) — Complete self-hosted omnichannel customer support desk.
- [Paperless-ngx](https://railway.com/deploy/paperless-ngx-3) — Paperless-ngx — document management with OCR and full-text search
- [Instatic CMS - Postgres](https://railway.com/deploy/instatic-cms-postgres) — Design, build and manage powerful static sites from state-of-the-art CMS

Open this page in a browser: https://railway.com/deploy/3QUkyF
