---
title: "Deploy raidguild-portal-template"
description: "Template for The Portal CMS"
category: "Other"
url: https://railway.com/deploy/raidguild-portal-template
---

# Deploy raidguild-portal-template

Template for The Portal CMS

**[Deploy raidguild-portal-template on Railway](https://railway.com/template/raidguild-portal-template)**

- **Creator:** Prism Haus
- **Category:** Other
- **Total deploys:** 6

## Template content

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

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

### portal-railway-template

- **Source:** https://github.com/raid-guild/portal-railway-template
- **Start command:** `pnpm railway:start`
- **Health check:** /api/health
- **Public domain:** Yes

## Documentation

# Deploy and Host Community Portal Template on Railway

  A Payload 3 and Next.js community portal template for contributor networks, programs, and communities. It surfaces briefs, projects, threads, activity, events, and member profiles so people can understand what is happening, find context, and choose a useful next step.

  ## Why Deploy Community Portal Template on Railway

  Railway is a good fit for this template because the app needs a Node.js runtime, persistent PostgreSQL database, environment variables, health checks, and repeatable deploys from GitHub. The template provisions the app and database together, runs Payload migrations at startup, and exposes the portal through a Railway public domain.

  ## About Hosting Community Portal Template

  This template deploys a full-stack Payload CMS and Next.js app on Railway with a managed PostgreSQL database. Railway builds the app from GitHub, provisions Postgres, injects the required environment variables, and runs Payload migrations on startup. After deployment, configure your first admin user, update branding and seed content, and use Payload admin to manage community activity.

  ## Dependencies for Community Portal Template

  The app is built with Next.js, Payload CMS 3, PostgreSQL, and pnpm. Railway provides the Node.js build/runtime environment, managed Postgres service, generated secrets, private service networking, and public app domain.

  ### Deployment Dependencies

  - PostgreSQL database service
  - `DATABASE_URI` pointing to the Railway Postgres private URL
  - `PAYLOAD_SECRET` generated for each deployment
  - `NEXT_PUBLIC_SERVER_URL` set to the Railway public domain
  - Node.js and pnpm runtime provided by Railway
  - Payload migrations run during application startup

  ## Common Use Cases

  - Launch a community portal for a contributor network, DAO, fellowship, cohort, or builder program.
  - Publish searchable projects, threads, events, activity updates, and member profiles from Payload CMS.
  - Give members and operators a shared place to track real community activity without turning the portal into a chat or project management tool.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/raidguild-portal-template
