Skip to main content

Deploy AI stacks with one command. Available: openclaw (OpenClaw+Ollama+Qdrant), ollama, rag. Local Docker Compose or cloud (Pro) with Terraform.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

🚀 StackShip

Deploy AI stacks with one command.

StackShip takes the pain out of setting up AI infrastructure. One command gets you a production-ready stack — locally with Docker Compose, or in the cloud with Terraform.

Overview

StackShip is a Python CLI that deploys pre-built AI stacks so you can run OpenClaw, Ollama, Qdrant, and similar tools without wiring Docker and config by hand.

  • Local: Docker Compose stacks under ~/.stackship/deployments/<stack>/
  • Cloud (Pro): Terraform-based deploys (Azure supported; AWS, GCP, DigitalOcean planned)

Tech stack: Typer + Rich for the CLI, Jinja2 for templates, docker compose (with fallback to standalone docker-compose). Cloud: Terraform with Azure provider. Python 3.9+.

How it works: Templates live in stackship/templates/ (e.g. openclaw, ollama, rag). Each has a docker-compose.yml.j2, optional config/ and env.example. The deploy flow creates the deployment dir, renders templates, runs docker compose pull and up, and can pre-pull Ollama models. Use stackship doctor to check Docker, disk, and ports.

Highlights: Clear separation (CLI, deploy engine, templates, doctor), good UX (progress, dry-run, panels), CI on Python 3.10–3.12 with ruff and pytest. OpenClaw stack is the primary, fully supported path.

Current limitations: Pro/cloud path requires a license key (check not yet implemented). Cloud deploy exits after the license prompt — Terraform is not invoked from the CLI yet. The ollama and rag templates are in the registry but may be incomplete.

Quick Start

pip install stackship

# Deploy OpenClaw stack locally (free)
stackship deploy openclaw
# Gateway: http://localhost:18789   Qdrant: http://localhost:6333

# Deploy to Azure (pro)
stackship deploy openclaw --cloud azure

The OpenClaw stack uses Ollama as the default model (ollama/llama3.2). You can optionally provide an Anthropic API key during setup for Claude, or add it later to ~/.stackship/deployments/openclaw/.env.

What You Get

stackship deploy openclaw

A complete AI assistant stack:

  • OpenClaw — personal AI agent framework (gateway on port 18789 by default)
  • Ollama — local LLM inference (Llama, Mistral, Qwen, etc.); default model is ollama/llama3.2
  • Qdrant — vector database for memory (API and dashboard on port 6333)

All pre-configured, networked, and ready to go. Deployment files and secrets live in ~/.stackship/deployments/openclaw/ (including .env and config/). To change ports or re-run compose, use the same directory:

cd ~/.stackship/deployments/openclaw
# Optional: edit docker-compose.yml or .env, then:
docker compose up -d

Pricing

Tier What Price
Free Local Docker Compose stacks $0
Pro Cloud templates (Terraform), priority support $15/mo or $29 one-time

Stack Templates

Available Now

  • openclaw — Full OpenClaw + Ollama + Qdrant
  • ollama — Standalone Ollama with model management
  • rag — RAG pipeline (Qdrant + embeddings API)

Coming Soon

  • langchain — LangChain + vector store + API
  • comfyui — ComfyUI + model cache

Commands

stackship deploy <stack>          # Deploy a stack locally
stackship deploy <stack> --cloud <provider>  # Deploy to cloud (pro)
stackship list                    # List available stacks
stackship status [<stack>]         # Check running stacks
stackship stop <stack>            # Stop a stack (preserves data)
stackship destroy <stack>         # Remove a stack (use --volumes to remove data)
stackship logs <stack>            # View stack logs
stackship doctor                  # Diagnose common issues

Deploy options (e.g. for openclaw): --port / -p (gateway port), --ollama-port (expose Ollama on host), --dry-run (render config only), --gpu, --models llama3.1,mistral, --api-key / -k (Anthropic), --skip-setup (skip interactive prompts).

Cloud Providers (Pro)

Provider Status
Azure 🔜 Coming Soon
AWS 🔜 Coming Soon
GCP 🔜 Coming Soon

Requirements

  • Python 3.9+
  • Docker & Docker Compose (for local deploys)
  • Terraform (for cloud deploys, auto-installed if missing)

License

MIT — Free and open source.

Cloud templates require a Pro license key.


Built by ai-engineering-lab · Dare to Dream, Inspire Leadership, and Spark Innovation Through Diverse Ideas.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stackship-0.1.1.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stackship-0.1.1-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file stackship-0.1.1.tar.gz.

File metadata

  • Download URL: stackship-0.1.1.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for stackship-0.1.1.tar.gz
Algorithm Hash digest
SHA256 182eff150cf2333cd03e5539c0765453095ba6901d769df3f4f799f16bccef8b
MD5 8a523a37b03a7a38da1a975e850aef89
BLAKE2b-256 c1a1c4bfee3049c751f2d5997722cb30120e08148fef124904722ed8cf871414

See more details on using hashes here.

File details

Details for the file stackship-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: stackship-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for stackship-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86ee295bda13040c244b4f98e0ab02f22978412d636d7b5ef2f117f5b7c4d1b1
MD5 3979b668ad6bd9626cf2ad7b6380a5b6
BLAKE2b-256 f2253d2d2738da16932fd3180912ef2db7aa0458f3ce30ce32176055985cf9f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page