---
title: "Deploy Mixpost"
description: "Self-hosted social media scheduler: Mixpost Lite 2.6 with MySQL and Redis"
category: "Automation"
url: https://railway.com/deploy/mixpost-1
---

# Deploy Mixpost

Self-hosted social media scheduler: Mixpost Lite 2.6 with MySQL and Redis

**[Deploy Mixpost on Railway](https://railway.com/template/mixpost-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/mixpost-1/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Automation
- **Total deploys:** 1

## Template content

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

- **Image:** redis:8.2
- **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"`

### MySQL https://devicons.railway.app/i/mysql.svg

- **Image:** mysql:8
- **Start command:** `docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0 --innodb-buffer-pool-size=1G`

### Mixpost https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/mixpost.png

- **Source:** https://github.com/aalfath/mixpost-railway-template
- **Health check:** /mixpost/login
- **Public domain:** Yes

## Documentation

# Deploy and Host Mixpost on Railway

Mixpost is an open-source, self-hosted social media management tool. You write posts once, schedule them on a calendar and publish them to accounts on X, Facebook Pages, Mastodon and other networks, with a shared media library, tags and basic analytics. This template deploys Mixpost Lite 2.6.0, the MIT-licensed edition.

## About Hosting Mixpost

Mixpost is a Laravel application. It needs a web server with PHP-FPM, a queue worker (Laravel Horizon) that publishes posts, a scheduler that runs every minute, a MySQL database and Redis. This template runs nginx, PHP-FPM, Horizon and the scheduler in one container built from the official `inovector/mixpost` image, pinned by version and digest, and adds Railway's MySQL and Redis. Uploaded media stay on a volume. Railway generates the app key, the database and Redis passwords and the first admin's password, so there is nothing to fill in. After deploying, connect each social network by adding its API keys in Mixpost under Services.

## Common Use Cases

* Plan and schedule posts for several social accounts from one calendar
* Run social media for a small team or agency on your own server, without per-seat fees
* Keep a reusable media library and post drafts in your own database

## Dependencies for Mixpost Hosting

* MySQL 8 (Railway MySQL)
* Redis (Railway Redis) for the queue and cache

### Deployment Dependencies

* Mixpost Lite: https://github.com/inovector/mixpost
* Docker image: https://hub.docker.com/r/inovector/mixpost
* Self-hosting docs: https://docs.mixpost.app/lite/installation/docker
* Template source: https://github.com/aalfath/mixpost-railway-template

### Implementation Details

Sign in at `https://YOUR-DOMAIN/mixpost` with the email in `MIXPOST_ADMIN_EMAIL` (default `admin@example.com`) and the generated password in `MIXPOST_ADMIN_PASSWORD`, both in the Mixpost service's Variables tab. Change the email and password in your profile after the first login. The image's default `changeme` password is never used.

Optional settings: add `MAIL_HOST`, `MAIL_PORT`, `MAIL_USERNAME`, `MAIL_PASSWORD`, `MAIL_FROM_ADDRESS` for email, or `MIXPOST_DISK=s3` with the `AWS_*` variables to keep media in S3. If you add a custom domain, update `APP_URL`. Don't change `APP_KEY` after setup: it encrypts the stored social account tokens.

## Why Deploy Mixpost 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 Mixpost 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) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [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/mixpost-1
