Railway

Deploy Evolution API — MInimal

Cheapest Evolution API deploy with Postgres and Redis. It just works.

Deploy Evolution API — MInimal

Just deployed

/data

/var/lib/postgresql/data

Just deployed

/evolution/instances

Deploy and Host Evolution API — Minimal on Railway

Evolution API — Minimal is a simple, low-cost Evolution API deployment template for Railway. It includes the core services needed to run Evolution API with PostgreSQL and Redis, giving you a lightweight WhatsApp automation backend that is easy to deploy, manage, and scale without complex server configuration.

About Hosting Evolution API — Minimal

Hosting Evolution API — Minimal on Railway gives you a fast way to run Evolution API with the required supporting services already connected. PostgreSQL stores application data such as instances, messages, contacts, and session-related information, while Redis provides caching for better performance and reliability. Railway handles the infrastructure layer, including service deployment, networking, environment variables, and public domain setup. This template is designed for users who want the cheapest and simplest way to deploy Evolution API while still keeping the important production dependencies in place. Once deployed, you can access the API, connect WhatsApp instances, and start building automation workflows.

Common Use Cases

  • WhatsApp automation for sending messages, alerts, and notifications
  • Connecting WhatsApp workflows with n8n, Chatwoot, Typebot, or custom apps
  • Running a lightweight Evolution API backend for personal, agency, or SaaS projects

Dependencies for Evolution API — Minimal Hosting

  • PostgreSQL database
  • Redis cache

Deployment Dependencies

Implementation Details

This template deploys Evolution API with PostgreSQL and Redis on Railway. Environment variables are configured using Railway reference variables, so the Evolution API service can connect directly to the PostgreSQL and Redis services.

PORT=8080
SERVER_URL=https://${{RAILWAY_PUBLIC_DOMAIN}}
CACHE_REDIS_URI=${{Redis.REDIS_URL}}
DATABASE_PROVIDER=postgresql
CACHE_REDIS_ENABLED=true
AUTHENTICATION_API_KEY=${{secret(64, "abcdef0123456789")}}
DATABASE_CONNECTION_URI=${{Postgres.DATABASE_URL}}

Why Deploy Evolution API — Minimal 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 Evolution API — Minimal 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

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
View Template
Prefect [Updated June ’26]
Prefect [June ’26] (ETL & Automation alternative to Airflow) Self Host

shinyduo