SH SelfHostAlt
Sponsored Self-host any open-source app on Hostinger KVM VPS from $4.99/mo (1-Click Docker) →
HyperSwitch logo

HyperSwitch

Apache-2.0 Docker Ready ★ 45,937 Stars Active · 2026-11-28

Payment switch to make payments fast, reliable and affordable. Connect with multiple payment processors and route traffic effortlessly, all with a single API integration. .

Category
Money, Budgeting & Management
Tech Stack / Runtime
Docker/Rust
Open-Source License
Apache-2.0
GitHub Health
★ 45,937 · 6,707 forks
#payments#rust#orchestration#hacktoberfest#beginner-friendly
Official docker-compose.yml

Quick Docker Compose Reference for HyperSwitch

volumes:
  pg_data:
  redisinsight_store:
  ckh_data:

networks:
  router_net:

services:
  ### Dependencies
  prestart-hook:
    image: docker.io/curlimages/curl-base:latest
    container_name: prestart-hook
    environment:
      - ONE_CLICK_SETUP=${ONE_CLICK_SETUP:-false}
    entrypoint:
      [
        "/bin/sh",
        "-c",
        "apk add --no-cache bash && /bin/bash /prestart_hook.sh",
      ]
    volumes:
      - ./scripts/prestart_hook.sh:/prestart_hook.sh
    networks:
      - router_net

  pg:
    image: docker.io/postgres:latest
    ports:
      - "5432:5432"
    networks:
      - router_net
    volumes:
      - pg_data:/var/lib/postgresql
    environment:
      - POSTGRES_USER=db_user
      - POSTGRES_PASSWORD=db_pass
      - POSTGRES_DB=hyperswitch_db
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
      interval: 5s
      retries: 3
      start_period: 5s
      timeout: 5s

  redis-standalone:
    image: docker.io/redis:7
    networks:
      - router_net
    ports:
      - "6379:6379"
    healthcheck:
      test: ["CMD-SHELL", "redis-cli ping | grep '^PONG$'"]
      interval: 5s
      retries: 3
      start_period: 5s
      timeout: 5s

  migration_runner:
    image: docker.io/debian:trixie-slim
    pull_policy: always
    command: >
      bash -c "
      apt-get update && apt-get install -y curl xz-utils &&
      curl --proto '=https' --tlsv1.2 -LsSf https://github.com/diesel-rs/diesel/releases/download/v2.3.5/diesel_cli-installer.sh | bash &&
      if ! command -v just >/dev/null 2>&1; then
        curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
      fi &&
      export PATH="$${PATH}:$${HOME}/.cargo/bin" &&
      just migrate"
    working_dir: /app
    networks:
      - router_net
    volumes:
      - ./:/app
    environment:
      # format -> postgresql://DB_USER:DB_PASSWORD@HOST:PORT/DATABASE_NAME
      - DATABASE_URL=postgresql://db_user:db_pass@pg:5432/hyperswitch_db

  superposition:
    image: ghcr.io/juspay/superposition-demo:0.113.0
    ports:
      - "8081:8080"
    networks:
      - router_net
# ... (see full file in official GitHub repository)

HyperSwitch System Requirements & Self-Hosting Guide

Deploy HyperSwitch (512 MB – 1 GB RAM) →

Recommended VPS

512 MB – 1 GB RAM

1 vCPU · $4 – $6/mo VPS

Deployment Method

Beginner-Friendly

Docker / Docker Compose (Recommended)

Commercial Use (Apache-2.0)

Yes — widely approved for commercial and enterprise self-hosting.

Maintenance Status

Active

Last commit: 2026-11-28

Frequently Asked Questions about HyperSwitch

Is HyperSwitch free to self-host for commercial use?

HyperSwitch is released under the Apache-2.0 license. Yes — widely approved for commercial and enterprise self-hosting. It has 45,937 GitHub stars and was last updated on 2026-11-28.

What VPS specifications do I need to self-host HyperSwitch?

Based on its Docker/Rust runtime and Money, Budgeting & Management workload, we recommend at least 512 MB – 1 GB RAM and 1 vCPU (typically $4 – $6/mo VPS).

Does HyperSwitch support Docker deployment?

Yes — HyperSwitch supports Docker / Docker Compose (Recommended), making it beginner-friendly to spin up on any Linux VPS.

More Open-Source Money, Budgeting & Management

View all →
★ 30.5k Docker

Local-first personal finance tool based on zero-sum budgeting, supporting synchronization across devices, custom rules, manual transaction importing (from QIF, OFX, and QFX files), and optional automatic synchronization with many banks. ).

Replaces: QuickBooks Mint / YNAB
MIT Nodejs/Docker
Details →
★ 25.4k Docker

Modern financial manager. It helps you to keep track of your money and make budget forecasts. It supports credit cards, has an advanced rule engine and can import data from many banks. , Source Code.

Replaces: QuickBooks Mint / YNAB Splitwise
AGPL-3.0 PHP/Docker
Details →
★ 18.3k Docker

Personal finance application for everyone (fork of Maybe).

Replaces: Mint / YNAB
AGPL-3.0 Docker
Details →
★ 9.8k Docker

Wealth management software to keep track of stocks, ETFs and cryptocurrencies. .

Replaces: Substack Medium WordPress.com
AGPL-3.0 Docker/Nodejs
Details →
★ 8.9k Docker

Lightweight personal subscription tracker with statistics and optional notifications. , Source Code.

GPL-3.0 PHP/Docker
Details →