Skip to content

Self-Hosting

Run AMP on your own infrastructure for complete control over data and customization.

Overview

Self-hosting AMP requires:

  • API Server — Handles HTTP requests
  • Worker — Processes background jobs
  • PostgreSQL — Primary database
  • Redis — Caching layer
  • NATS — Message queue

Deployment Options

  • Docker Compose

    Fastest path to self-hosting. Ideal for development and small deployments.

    Docker Deployment

  • Kubernetes

    Production-grade deployment with scaling and high availability.

    Kubernetes Guide

  • Manual

    Full control over each component. Requires more setup.

    Manual Setup

Quick Start (Docker)

# Clone repository
git clone https://github.com/ubiship/amp.git
cd amp

# Configure environment
cp .env.example .env
# Edit .env with your settings

# Start services
docker compose up -d

# Verify
curl http://localhost:8080/health

Next Steps