
Deploy Postiz App
Postiz is an all-in-one platform for social media management
Postiz
gitroomhq/postiz-app:latest
Just deployed
/uploads
Redis
bitnami/redis
Just deployed
/bitnami
Postgis
railwayapp-templates/timescale-postgis-ssl:pg17-ts2.17
Just deployed
/var/lib/postgresql/data
Deploy and Host Postiz App on Railway
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 - Complete setup and configuration guide
- Postiz GitHub Repository - Source code and latest releases
- Docker Hub - Postiz Image - Official Docker container images
- Railway PostgreSQL Guide - Database setup and SSL configuration
- Railway Redis Template - Redis deployment template
Implementation Details
Environment Configuration:
# 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:
# 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:
- Navigate to your Postiz service in the Railway dashboard
- Go to Settings → Networking
- Enable Public Networking
- Set the port to 5000
- Save the configuration
This step is essential for the application to be accessible via the generated Railway domain.
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.
Template Content