---
title: "Deploy Postiz | Open-Source Social Media Scheduler for 30+ Platforms"
description: "1 click Self-host Postiz v2.11.3. Schedule, publish & automate social posts"
category: "Automation"
url: https://railway.com/deploy/deploy-postiz
---

# Deploy Postiz | Open-Source Social Media Scheduler for 30+ Platforms

1 click Self-host Postiz v2.11.3. Schedule, publish & automate social posts

**[Deploy Postiz | Open-Source Social Media Scheduler for 30+ Platforms on Railway](https://railway.com/template/deploy-postiz)**

- **Creator:** Heimdall
- **Category:** Automation
- **Total deploys:** 207

## Template content

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Postiz v2.11.3 https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postiz-dark.svg

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

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

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

## Documentation

![postiz dashboard screenshot](https://repository-images.githubusercontent.com/664013991/8b16b484-683a-4ed9-a132-6d070704cc12)

# Deploy and Host Postiz

This Railway template deploys **Postiz v2.11.3** — the last version before Temporal became a required dependency — giving you a fully functional social media scheduling platform without the operational overhead of running a Temporal workflow engine. The template provisions three services: the Postiz app (`ghcr.io/gitroomhq/postiz-app:v2.11.3`), PostgreSQL, and Redis, all connected over Railway's private network with persistent volumes for uploads, database data, and Redis data.
![postiz railway deployment](https://res.cloudinary.com/asset-cloudinary/image/upload/v1772994349/postiz_wo_temporal_xxqqe3.png)

## About Hosting Postiz

Postiz (GitHub: [gitroomhq/postiz-app](https://github.com/gitroomhq/postiz-app)) is an open-source social media scheduling and automation platform — a self-hosted alternative to Buffer, Hypefury, and Later. It centralises scheduling, AI-assisted content creation, and analytics across 30+ platforms including X (Twitter), Instagram, LinkedIn, Facebook, Reddit, Threads, and Mastodon.

**Key features:**
- Schedule posts across 30+ social platforms from one dashboard
- AI-powered content generation and auto-complete
- Team collaboration with comments and role management
- REST API + N8N/Make.com/Zapier-compatible automation
- MCP endpoint (`/api/mcp/{API_KEY}`) for agent-based workflows
- Analytics and engagement tracking
- Full data ownership — no vendor lock-in

![postiz-with-temporal dashboard screenshot](https://github.com/user-attachments/assets/a27ee220-beb7-4c7e-8c1b-2c44301f82ef)

**Architecture:** Postiz runs as a unified Next.js + Node.js app, backed by PostgreSQL (persistent storage) and Redis (job queues and caching). All three services communicate over Railway's private network — no public exposure of database ports.

## Why Deploy Postiz

Running Postiz on a VPS means managing Docker Compose files, SSL certificates, reverse proxies, and database backups yourself. Railway handles all of that:

- **Private networking** — Postgres and Redis are never exposed publicly; services communicate via `RAILWAY_PRIVATE_DOMAIN`
- **Persistent volumes** — `/uploads`, `/var/lib/postgresql/data`, and Redis `/data` are all mounted automatically
- **Environment variable injection** — secrets like `JWT_SECRET` are auto-generated; database URLs are wired between services at deploy time
- **One-click deploy** — the entire three-service stack is live in under two minutes
- **Pinned to v2.11.3** — deliberately avoids the Temporal dependency introduced in v2.12+, keeping the stack lean

## Common Use Cases of Postiz

- **Solo creators and newsletters** — schedule a week of content across LinkedIn, X, and Instagram in one session
- **Marketing agencies** — multi-user mode (`IS_GENERAL=true`) lets teams collaborate on client accounts
- **Developer automation** — use the REST API or MCP endpoint to publish posts from CI pipelines or AI agents
- **Replacing SaaS schedulers** — teams migrating off Buffer or Hypefury to cut monthly subscription costs

## Dependencies for Postiz

- **PostgreSQL** — primary data store for users, posts, and scheduling data
- **Redis** — background job queue (`RUN_CRON=true`) and session caching

### Environment Variables Reference

| Variable | Description | Required |
|---|---|---|
| `MAIN_URL` | Primary public URL of your Postiz instance | ✅ |
| `FRONTEND_URL` | Public frontend URL (same as `MAIN_URL` in most setups) | ✅ |
| `NEXT_PUBLIC_BACKEND_URL` | Public API endpoint, e.g. `https://your-domain.up.railway.app/api` | ✅ |
| `JWT_SECRET` | 64-char secret for signing auth tokens — auto-generated | ✅ |
| `DATABASE_URL` | Internal Postgres connection string — auto-wired | ✅ |
| `REDIS_URL` | Internal Redis connection string — auto-wired | ✅ |
| `DISABLE_REGISTRATION` | Set `"true"` after creating your admin account | ✅ |
| `IS_GENERAL` | `"true"` enables multi-user mode required for self-hosting | ✅ |
| `STORAGE_PROVIDER` | `"local"` uses the mounted `/uploads` volume | ✅ |
| `NOT_SECURED` | `"true"` disables strict HTTPS checks (fine behind Railway's proxy) | Optional |
| `RUN_CRON` | `"true"` enables background scheduled publishing jobs | ✅ |

### Deployment Dependencies

- Docker image: `ghcr.io/gitroomhq/postiz-app:v2.11.3`
- [Postiz GitHub repository](https://github.com/gitroomhq/postiz-app)
- [Postiz official documentation](https://docs.postiz.com)
- Node.js 20+, PostgreSQL 15+, Redis 7+ (all handled by the template)

---

## Postiz vs Buffer vs Hypefury

| | Postiz (self-hosted) | Buffer | Hypefury |
|---|---|---|---|
| **Cost** | Free (infra only) | $6–$120/mo | $19–$79/mo |
| **Open source** | ✅ | ❌ | ❌ |
| **AI content tools** | ✅ | Limited | ✅ |
| **Self-hostable** | ✅ | ❌ | ❌ |
| **Mastodon/Bluesky** | ✅ | ❌ | ❌ |
| **API/MCP access** | ✅ | Limited | ❌ |

Postiz is the only option if you need full data ownership, niche platform support (Mastodon, Threads, Bluesky), or agent/API-driven publishing workflows.

## Self-Hosting Postiz Outside Railway

For VPS deployments (Ubuntu/Debian), the minimal Docker Compose setup:

```
services:
  postiz:
    image: ghcr.io/gitroomhq/postiz-app:v2.11.3
    restart: always
    environment:
      MAIN_URL: "https://your-domain.com"
      FRONTEND_URL: "https://your-domain.com"
      NEXT_PUBLIC_BACKEND_URL: "https://your-domain.com/api"
      JWT_SECRET: "your-64-char-random-secret"
      DATABASE_URL: "postgresql://postiz:password@postgres:5432/postiz"
      REDIS_URL: "redis://redis:6379"
      IS_GENERAL: "true"
      STORAGE_PROVIDER: "local"
      UPLOAD_DIRECTORY: "/uploads"
      RUN_CRON: "true"
    volumes:
      - ./uploads:/uploads
    ports:
      - "5000:5000"
    depends_on: [postgres, redis]

  postgres:
    image: postgres:17-alpine
    environment:
      POSTGRES_USER: postiz
      POSTGRES_PASSWORD: password
      POSTGRES_DB: postiz
    volumes:
      - pgdata:/var/lib/postgresql/data

  redis:
    image: redis:7.2
    volumes:
      - redisdata:/data

volumes:
  pgdata:
  redisdata:
```

After your first login, set `DISABLE_REGISTRATION="true"` and restart to lock down public signups.

## How Much Does Postiz Cost?

Postiz is **100% open-source and free to self-host** — you pay only for infrastructure. On Railway, the three-service stack (app + Postgres + Redis) typically runs within the Hobby plan ($5/month). A managed cloud version exists at postiz.com starting at ~$23/month for 5 channels, but self-hosting via Railway gives you unlimited channels at infrastructure cost only.

## Getting Started with Postiz After Deploy

Once Railway finishes deploying, open the public URL assigned to your Postiz service. Create your first account — this becomes the admin account. Immediately after, set `DISABLE_REGISTRATION="false"` → `"true"` in the environment variables tab to prevent unwanted signups. Then navigate to **Settings → Providers** to connect your first social media platform using its OAuth credentials. Create your first scheduled post from the dashboard calendar view.

![postiz dashboard screenshot](https://postiz.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2FTool-Planning.3f9ff858.png&w=1920&q=75)

## FAQ

**How do I deploy latest version of Postiz?**
Latest version of postiz requires temporal to be configured. I have packaged that in a railway template and you can 1 click deploy that here -
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/postiz-with-temporal?referralCode=QXdhdr&utm_medium=integration&utm_source=template&utm_campaign=generic)

**Is Postiz open-source?**
Yes. Postiz is fully open-source under the Apache 2.0 license at [github.com/gitroomhq/postiz-app](https://github.com/gitroomhq/postiz-app).

**Why is this template pinned to v2.11.3?**
Postiz v2.12+ requires Temporal, a workflow orchestration engine that adds significant operational complexity. v2.11.3 is the last fully functional release without it — ideal for straightforward self-hosted deployments.

**Which social platforms does Postiz support?**
X (Twitter), Instagram, LinkedIn, Facebook, Reddit, Threads, Mastodon, Bluesky, TikTok, YouTube, and more — 17+ platforms total.

**Can I upgrade to v2.12+ later?**
Yes, but you'll need to add a Temporal service. See the [official migration guide](https://docs.postiz.com) before upgrading. Or you can also find the railway template here - 
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/postiz-with-temporal?referralCode=QXdhdr&utm_medium=integration&utm_source=template&utm_campaign=generic)

**How do I connect social accounts?**
Go to **Settings → Providers** in the Postiz dashboard and enter the OAuth app credentials for each platform you want to connect.

**Is there a free tier?**
Self-hosting is free. Railway's Hobby plan ($5/month) comfortably covers the resource requirements for personal or small-team use.

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