---
title: "Deploy Postiz App"
description: "Postiz is an all-in-one platform for social media management"
category: "Other"
url: https://railway.com/deploy/postiz-app
---

# Deploy Postiz App

Postiz is an all-in-one platform for social media management

**[Deploy Postiz App on Railway](https://railway.com/template/postiz-app)**

- **Creator:** Protemplate
- **Category:** Other
- **Total deploys:** 491

## Template content

### Postiz https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/postiz.png

- **Image:** ghcr.io/gitroomhq/postiz-app:v2.11.3
- **Public domain:** Yes

### Redis https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/Redis_Mark_Red_RGB.png

- **Image:** bitnamilegacy/redis:latest

### Postgis https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/elephant.png

- **Image:** ghcr.io/railwayapp-templates/timescale-postgis-ssl:pg17-ts2.17

## Documentation

# Deploy and Host Postiz App on Railway

### Important: Postiz v2.12+ Requires Temporal ⚠️

Use this [Postiz (Temporal) template](https://railway.com/deploy/postiz-temporal) for the latest version of Postiz (v2.12 and above).

Starting with [v2.12.0](https://github.com/gitroomhq/postiz-app/releases/tag/v2.12.0), Postiz migrated its job queue infrastructure from BullMQ to Temporal. If you are deploying Postiz v2.12 or later, you must use this [Postiz (Temporal) template](https://railway.com/deploy/postiz-temporal).

This Postiz App template (without Temporal) only works for v2.11 and below and is not compatible with newer versions due to the new infrastructure.

<img alt="Postiz Logo" src="https://github.com/user-attachments/assets/f0d30d70-dddb-4142-8876-e9aa6ed1cb99" width="280">
Postiz is a social media scheduling and management platform that allows you to create, schedule, and publish content across multiple social media platforms from a single dashboard. Built with modern web technologies, it provides analytics, team collaboration features, and automated posting capabilities for streamlined social media management.

![Image 1](https://github.com/user-attachments/assets/a27ee220-beb7-4c7e-8c1b-2c44301f82ef)

## About Hosting Postiz App

Hosting Postiz App involves deploying a full-stack application with multiple interconnected services. The deployment requires a Node.js runtime environment, PostgreSQL database for storing user data and scheduled posts, Redis for caching and session management, and proper SSL configuration for secure communications. The application also needs persistent storage for uploaded media files and proper environment configuration for social media API integrations. Railway simplifies this complex deployment by providing automated service orchestration, built-in SSL certificates, and seamless scaling capabilities.

## Common Use Cases

- **Social Media Marketing Agencies**: Manage multiple client accounts, schedule campaigns across platforms, and provide detailed analytics reporting to clients
- **Content Creators and Influencers**: Plan and automate content publishing schedules, maintain consistent posting frequency, and track engagement metrics
- **Enterprise Social Media Management**: Coordinate team collaboration on social content, implement approval workflows, and maintain brand consistency across all social channels

## Dependencies for Postiz App Hosting

- **PostgreSQL Database**: Stores user accounts, scheduled posts, social media integrations, analytics data, and application configuration
- **Redis Cache**: Handles session storage, job queues for scheduled posts, and caching for improved application performance
- **Node.js Runtime**: Executes the main application server, handles API requests, and manages background job processing

### Deployment Dependencies

- [Postiz Official Documentation](https://docs.postiz.com) - Complete setup and configuration guide
- [Postiz GitHub Repository](https://github.com/gitroomhq/postiz-app) - Source code and latest releases
- [Docker Hub - Postiz Image](https://github.com/gitroomhq/postiz-app/pkgs/container/postiz-app) - Official Docker container images
- [Railway PostgreSQL Guide](https://docs.railway.com/guides/postgresql) - Database setup and SSL configuration
- [Railway Redis Template](https://railway.app/template/redis) - Redis deployment template

### Implementation Details

**Environment Configuration:**
```bash
# Core Application Settings
MAIN_URL=https://your-app-domain.railway.app
FRONTEND_URL=https://your-app-domain.railway.app
NEXT_PUBLIC_BACKEND_URL=https://your-app-domain.railway.app/api
JWT_SECRET=your-generated-secret-key
IS_GENERAL=true

# Database Connections (SSL-enabled)
DATABASE_URL=postgresql://user:password@host:5432/database?sslmode=require
REDIS_URL=redis://redis-host:6379

# File Storage Configuration
STORAGE_PROVIDER=local
UPLOAD_DIRECTORY=/uploads
NEXT_PUBLIC_UPLOAD_DIRECTORY=/uploads

# Security Settings
DISABLE_REGISTRATION=false  # Set to true after first admin user
```

**Service Dependencies:**
```yaml
# Railway automatically handles service linking
services:
  - postiz-app (port 5000, public)
  - postgresql-17 (port 5432, private, SSL-enabled)
  - redis (port 6379, private)
```

## Important Setup Note

⚠️ **Manual Port Configuration Required**: After deploying this template, you must manually configure the public networking port for the Postiz service:

1. Navigate to your Postiz service in the Railway dashboard
2. Go to **Settings** → **Networking** 
3. Enable **Public Networking**
4. Set the port to **5000**
5. Save the configuration

![Port Configuration Screenshot](https://zyugzloemocjcxmspsso.supabase.co/storage/v1/object/public/static-assets/postiz-port-5000.png)

This step is essential for the application to be accessible via the generated Railway domain.

📋 Next Step: Configure Social Media Providers
After deployment, you'll need to connect your social media accounts to start scheduling posts. Postiz supports major platforms including Twitter, Facebook, Instagram, LinkedIn, and more.
Follow the setup guide to add your providers: https://docs.postiz.com/providers
This step is required to enable posting functionality across your social media channels.


## Why Deploy Postiz App on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Postiz App on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## 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/postiz-app
