
Deploy Postiz Instagram
Schedule Instagram posts, Reels and Stories with Postiz
Redis
Just deployed
/data
Just deployed
/var/lib/postgresql/data
Just deployed
/uploads
Temporal
Just deployed
Deploy and Host Postiz Instagram (Open-Source Social Media Scheduler) on Railway
This Railway template runs Postiz with Instagram publishing for feed posts, carousels, Reels, Stories, and comment replies. Self-host creators and teams get a full scheduler without per-channel fees.
About Hosting Postiz Instagram on Railway (self hosted Postiz template)
Running Postiz Instagram on Railway means you keep your scheduled posts, media, comments and account tokens inside your own Postgres database and /uploads volume. Nothing gets handed to a third-party scheduler. You connect your own Meta app and add the Instagram channel.
Why Deploy Postiz Instagram on Railway (Railway Free Trial)
Self-hosting Postiz Instagram on Railway trades Later's per-channel SaaS pricing for your own stack: you control the Meta app, database, and uploads, and the $5 Railway trial lets you test feed posts, Reels, Stories, and comment replies before paying anything recurring. More setup, but the data stays yours.
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 Instagram 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.
Railway vs Other Hosting Providers and VPS for Postiz Instagram self hosting
Self-hosting Postiz Instagram means running the app, Temporal, Postgres and Redis somewhere; here is how Railway compares to three common options.
| Provider | What You Get with Railway | What You Get with the Other Provider |
|---|---|---|
| DigitalOcean | Managed Postgres, Redis, Temporal, /uploads; OAuth on your domain. | Manual docker compose; you run Postgres, Redis, Temporal and TLS. |
| AWS | Four services in one private network; no IAM or VPC setup. | EC2 plus RDS, ElastiCache, Temporal and manual OAuth config. |
| Hetzner | PaaS path; skip hardening, updates, queue tuning. | Cheap VPS; install Docker, open ports, babysit three services. |
Common Use Cases for hosted Postiz Instagram
Agency client work: Manage several Instagram accounts from one Postiz instance, and schedule carousels and Reels for each client on one calendar.
Creator batch sessions: Record Reels and Stories in one sitting, then queue them on the calendar for the week, using the AI assistant to draft captions.
E-commerce product posts: Schedule image and video feed posts for product launches, then reply to comments as an action inside Postiz instead of switching to the Instagram app.
Local business Stories: Post daily image or video Stories for promotions without paying per-channel fees, keeping the self-hosted setup on Railway.
Multi-brand coordination: Keep each brand's Instagram connection separate while sharing one Postiz database and Temporal scheduler.
Dependencies for Postiz Docker hosted on Railway
Postiz on Railway runs as four coordinated services. Temporal 1.28.1 handles scheduled jobs and workflows over the private network on port 7233. Postgres 18 stores app and Temporal data, and Redis 8.2 handles queues and caching. All data volumes persist across restarts.
Deployment Dependencies for Managed Postiz Service (Social Media Scheduler)
The Railway template provisions the postiz service with a volume mounted at /uploads and a health check on /. Temporal, Postgres, and Redis run as private services with their own volumes. You do not expose Temporal or Postgres publicly.
Implementation Details for Postiz (Using the official Postiz v2.25.1 image)
The postiz service uses the official image and sets MAIN_URL and FRONTEND_URL to your Railway public domain, NEXT_PUBLIC_BACKEND_URL to that domain plus /api, JWT_SECRET to a generated 64-character string, STORAGE_PROVIDER=local, UPLOAD_DIRECTORY=/uploads, NOT_SECURED=true for login on up.railway.app, and DISABLE_REGISTRATION=false so the first signup becomes admin.
How does Postiz compare against other social media schedulers
Postiz vs Buffer (Buffer Alternative)
- Self-hosting: Postiz is AGPL-3.0 and self-hosted, so you own data and avoid per-channel fees.
- Instagram actions: Postiz schedules feed posts, Reels, Stories, and comment replies; Buffer covers similar post types as a hosted SaaS.
- Where Buffer wins: Buffer's mobile apps and zero maintenance suit teams that don't want to run servers.
Postiz vs Hootsuite (Hootsuite Alternative)
- Cost: Postiz is free to self-host, while Hootsuite charges per user and gets expensive for agencies.
- Features: Postiz covers Instagram feed, Reels, Stories, and comment replies. Hootsuite adds SSO, auto-replies, and governance that Postiz lacks.
- Where Hootsuite wins: Large enterprises needing strict compliance and advanced analytics may prefer Hootsuite's managed platform.
Postiz vs Later (Later Alternative)
- Focus: Later is a visual-first planner for Instagram and TikTok; Postiz schedules the same Instagram types but with a text-first calendar.
- Cost and control: Postiz is open source and self-hosted, so no per-social-set fees. Later is a paid SaaS that scales with social sets.
- Where Later wins: Later's grid planner and link-in-bio tool are better for Instagram creators. Postiz has no link stickers or bio tool.
Postiz vs Mixpost (Mixpost Alternative)
- Stack: Postiz uses TypeScript, Temporal, Postgres, and Redis. Mixpost is a Laravel PHP package needing Composer and a queue worker.
- Instagram support: Postiz supports Stories, Reels with audio, and comment replies. Mixpost Lite is the free tier; more features sit in paid Mixpost licenses.
- Where Mixpost wins: If you already run Laravel, Mixpost integrates more naturally into a PHP app.
How to use Postiz Instagram (the OSS social media scheduler)?
- After deploy, open your Railway domain and sign up; the first account becomes the admin.
- In a Meta for Developers app, set the redirect URI to https://your-domain/integrations/social/instagram (or /integrations/social/instagram-standalone), then set FACEBOOK_APP_ID and FACEBOOK_APP_SECRET (or INSTAGRAM_APP_ID and INSTAGRAM_APP_SECRET) on the postiz service and redeploy.
- Click Add Channel, pick Instagram or Instagram (Standalone), and log in with an account listed as an Instagram Tester.
- In the composer, pick Instagram, attach a single image, carousel, video, or Reel, then write your caption and schedule it.
- For Stories, choose image or video; for Reels audio, use the Facebook Business connection.
- Reply to comments as an explicit action in Postiz; there are no auto-replies.
How to self host Postiz on other VPS Services (Postiz self hosting guide)
Clone the Repository
git clone https://github.com/gitroomhq/postiz-docker-compose.git
cd postiz-docker-compose
Install Dependencies
You need Docker with the compose plugin and a domain with HTTPS for OAuth callbacks. The compose file pulls prebuilt images, so there is no Node build.
Configure Environment Variables
Edit the environment block in docker-compose.yaml: set MAIN_URL, FRONTEND_URL, NEXT_PUBLIC_BACKEND_URL, JWT_SECRET, DATABASE_URL, REDIS_URL, TEMPORAL_ADDRESS, STORAGE_PROVIDER=local, and UPLOAD_DIRECTORY=/uploads.
Start the Postiz Application
docker compose up -d
Open https://your-domain, sign up, and connect Instagram via a Meta developer app.
Official Pricing of Postiz (Postiz pricing)
Postiz is free and open source under AGPL-3.0, so self-hosting the software costs nothing for the license. You only pay for your infrastructure, like the Railway services, storage, and domain.
Postiz cloud vs self hosted comparison (Pricing, features, costs, and more)
Postiz offers a paid cloud at postiz.com, but the self-hosted version is free under AGPL-3.0. Here are the practical numbers for running it yourself.
Monthly cost of self hosting Postiz on Railway
On Railway, you pay only for the infrastructure. At light use, running the app container, Temporal, Postgres, and Redis typically lands between $10 and $25 per month. Railway also includes a $5 free trial, which is enough to test Instagram scheduling before you commit.
System Requirements for Hosting Postiz on a VPS
If you host on a traditional VPS instead of Railway, the official docker compose spins up the Postiz app, Postgres, Redis, and Temporal. Plan for at least 2 GB of RAM to keep everything responsive. You also need a domain with HTTPS, since Instagram and other OAuth callbacks will not work over plain HTTP.
Frequently Asked Questions (FAQs)
Why do I see "Insufficient developer role" when connecting Instagram?
Meta only allows accounts added as Instagram Testers under App Roles before advanced permissions are approved. Add the Instagram account as a tester, then reconnect.
Can Postiz publish Instagram Stories with link stickers?
No, link stickers are not supported. Postiz can publish image and video Stories, plus feed posts, carousels, videos and Reels.
Does Postiz auto-reply to Instagram comments?
No, automatic comment auto-replies are not available. Replying to a comment is an explicit action you trigger from Postiz.
Can one Meta app handle both Facebook and Instagram?
Yes. One Meta for Developers app can serve the Facebook Business and Instagram options, but each option has its own redirect URI and env vars.
Do I need a Facebook Page for the Instagram Standalone option?
No. The standalone option works with a professional Instagram account that is not linked to a Facebook Page.
Where do Instagram media uploads persist on Railway?
They persist on the /uploads volume attached to the postiz service. Keep that volume intact when you redeploy.
Template Content
