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.
-
Kubernetes
Production-grade deployment with scaling and high availability.
-
Manual
Full control over each component. Requires more 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¶
- Requirements — System requirements
- Docker Deployment — Full Docker guide
- Configuration — Environment variables
- Database Setup — Database configuration
- Provider Setup — AI provider configuration
- Production Checklist — Go-live checklist