Deploy Mixpost
Self-hosted social media scheduler: Mixpost Lite 2.6 with MySQL and Redis
Redis
Just deployed
/data
MySQL
Just deployed
/var/lib/mysql
Just deployed
/var/www/html/storage/app
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.
Template Content