---
title: "Deploy Postiz (Social Media Scheduler)"
description: "Self-hosted Buffer alternative: schedule to X, LinkedIn & 15+ platforms."
category: "Automation"
url: https://railway.com/deploy/postiz-social-media-scheduler
---

# Deploy Postiz (Social Media Scheduler)

Self-hosted Buffer alternative: schedule to X, LinkedIn & 15+ platforms.

**[Deploy Postiz (Social Media Scheduler) on Railway](https://railway.com/template/postiz-social-media-scheduler)**

- **Creator:** Nick K's Projects
- **Category:** Automation
- **Total deploys:** 3

## Template content

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

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

### Postiz https://devicons.railway.com/i/postiz.svg

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

### Redis https://devicons.railway.com/i/redis.svg

- **Image:** redis:7.4-alpine
- **Start command:** `sh -c 'exec redis-server --requirepass "$REDIS_PASSWORD" --appendonly yes --dir /data --bind 0.0.0.0 ::'`

### temporal

- **Image:** temporalio/auto-setup:1.28.1

## Documentation

# Deploy and Host Postiz (Social Media Scheduler) on Railway

Postiz is the leading open-source social media scheduler — a self-hosted alternative to Buffer and Hootsuite. Plan, schedule, and auto-publish posts to X (Twitter), LinkedIn, Instagram, Facebook, TikTok, YouTube, Reddit, Mastodon, Bluesky, and 15+ platforms from one calendar, with team features and an optional AI copilot.

## About Hosting Postiz (Social Media Scheduler)

This template runs the official `ghcr.io/gitroomhq/postiz-app` image (pinned to v2.21.10) with everything Postiz needs: Postgres 17 for data, password-protected Redis 7 for the scheduling queue, and a persistent volume at `/uploads` for media. All URLs are wired to your generated Railway domain automatically, the JWT secret is auto-generated, and the built-in cron worker publishes scheduled posts on time. Databases are reachable only over Railway private networking — nothing but the app itself is exposed to the internet. Register your account right after deploy, then set `DISABLE_REGISTRATION=true` to lock signups.

## Common Use Cases

- Creators and indie hackers scheduling a week of content across X, LinkedIn, and Instagram in one sitting
- Agencies managing multiple brands without paying per-seat SaaS pricing
- Teams that need full data ownership for their social pipelines and analytics

## Dependencies for Postiz (Social Media Scheduler) Hosting

- Developer/app credentials for each social platform you want to connect (e.g. X API keys, LinkedIn app, Meta app) — Bluesky and Mastodon work with no API keys
- Optional: `OPENAI_API_KEY` for the AI copilot and image generation

### Deployment Dependencies

- [Postiz documentation](https://docs.postiz.com)
- [Providers setup guides](https://docs.postiz.com/providers)
- [Postiz GitHub repository](https://github.com/gitroomhq/postiz-app)

### Implementation Details

Key defaults shipped by this template:

```
JWT_SECRET          auto-generated 64-char secret
RUN_CRON            true  (scheduler worker on)
STORAGE_PROVIDER    local (media persisted at /uploads)
DISABLE_REGISTRATION false (set true after you sign up)
Redis               requirepass + appendonly, IPv6 private networking
```

This template deploys the official open-source Postiz image and is not affiliated with Gitroom/Postiz.

## Why Deploy Postiz (Social Media Scheduler) 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 (Social Media Scheduler) 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

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — [Jul'26] WhatsApp automation platform using Evolution API, n8n & PostgreSQL
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/postiz-social-media-scheduler
