Sign inSign up

zerosuiteinc/sh0

By zerosuiteinc

Updated 5 days ago

Self-Hosted Rust-based PaaS + BaaS. 103 AI tools. 5 DB engines. Auth, Realtime, Functions, Mail.

Image
Developer tools
1

10K+

zerosuiteinc/sh0 repository overview

sh0 -- Self-Hosted Rust-based PaaS + BaaS. 103 AI tools. 5 DB engines. Auth, Realtime, Functions, Mail in a Single Binary

Docker Pulls GitHub Release

Deploy, database, auth, storage, email, functions -- your entire backend in one binary.

Single Rust binary (~25 MB). 103 AI tools. 170+ templates. 5 database engines. S3 storage. Email hosting. Auth service. Realtime WebSocket. Serverless functions. Auto-SSL. MCP server.

Alternative to Coolify, Heroku, Vercel, Supabase, Firebase, Easypanel, cPanel, and Dokku.


Quick Start

docker run -d \
  --name sh0 \
  --restart unless-stopped \
  -p 9000:9000 \
  -p 80:80 \
  -p 443:443 \
  -v sh0-data:/var/lib/sh0 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  zerosuiteinc/sh0:1.6.0

Open http://your-server:9000 and login with [email protected] / sh0-change-me!

Docker Compose

services:
  sh0:
    image: zerosuiteinc/sh0:1.6.0
    container_name: sh0
    restart: unless-stopped
    ports:
      - "9000:9000"
      - "80:80"
      - "443:443"
    volumes:
      - sh0-data:/var/lib/sh0
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - RUST_LOG=info
      # - SH0_PANEL_DOMAIN=panel.example.com
      # - SH0_BASE_DOMAIN=example.com

volumes:
  sh0-data:

Why sh0?

sh0CoolifySupabasecPanelHeroku
DistributionSingle binaryDocker ComposeDocker ComposeRPM packageCloud only
Memory~25 MB idle500-700 MB1+ GB200+ MBN/A
Database engines5 managedBasic DockerPostgreSQL onlyMySQL onlyPostgreSQL only
S3 storageMinIO built-inNoYesNoNo
Email hostingStalwart (DKIM/SPF)NoNoExim (legacy)No
Auth serviceLogto (OIDC)NoGoTrueNoNo
RealtimeCentrifugo (WebSocket)NoElixirNoNo
FunctionsDeno serverlessNoDeno EdgeNoNo
PostgREST APIOne-clickNoBuilt-inNoNo
AI assistant103 tools + MCPNoNoNoNo
CLI30+ commandsNoYesNoYes
Templates170+280+N/AN/AN/A
Code health34 rulesNoNoNoNo
Export7 platformsNoNoNoNo
Mobile Money18+ countriesNoNoNoNo
Built withRustNode.jsElixir/GoPerlRuby

Complete Feature Inventory

Deploy Platform (Free tier)

6 deployment methods:

  • Git push -- Connect GitHub, GitLab, or Bitbucket with auto-deploy on push
  • CLI push -- sh0 push detects stack, builds, and deploys in ~35 seconds
  • 170+ templates -- One-click WordPress, PostgreSQL, Redis, Ghost, n8n, Ollama, and more
  • Docker Compose -- Import and deploy existing compose files
  • ZIP upload -- Upload compressed project archives
  • Infrastructure as Code -- Declarative sh0.yaml configuration

20 auto-detected stacks: Node.js, Bun, Deno, Python, Django, FastAPI, Flask, PHP, Laravel, Go, Rust, Java, Spring Boot, Next.js, Nuxt, SvelteKit, Astro, Remix, static HTML, Ruby, .NET

Additional deploy features:

  • Auto-SSL (Let's Encrypt via Caddy, zero config)
  • Custom SSL certificates (CSR generation + PEM upload)
  • Preview environments (auto-deploy PRs, auto-cleanup)
  • Blue-green deploys (zero-downtime with automatic rollback)
  • Deploy hooks (pre/post build, pre/post deploy)
  • Horizontal scaling (1-10 replicas, round-robin/least-conn/random LB)
  • Auto-scaling (CPU/memory thresholds)
  • Web terminal (xterm.js shell into any container)
  • File manager (browse, edit, create, delete files in containers)
  • Code health scoring (34 rules across security, config, build, framework)
Managed Services (Pro tier -- $19/mo)
ServiceEngineDetails
Database ServersPostgreSQL, MySQL, MariaDB, MongoDB, RedisAdmin UIs (dbGate, phpMyAdmin, Mongo Express), managed databases, users, grants, external access with IP allowlists, container stats
File Storage (S3)MinIOS3-compatible API, web console, buckets, access keys, auto-subdomains
Email HostingStalwart Mail ServerDKIM/SPF/DMARC auto-config, Cloudflare DNS, mailboxes, aliases, spam filter, vacation responder, Sieve filters, queue monitoring
PostgREST APIPostgREST v12Auto-generated REST API from PostgreSQL tables, one-click enable
Auth ServiceLogtoOIDC-compliant auth, social login, admin console
RealtimeCentrifugo v5WebSocket + SSE, channels, presence, publish API, admin dashboard
Serverless FunctionsDenoTypeScript/JavaScript, invoke via HTTP, auto-SSL endpoint
Cloud Backups13 backendsAWS S3, Cloudflare R2, DigitalOcean Spaces, Backblaze B2, SFTP, FTP, Dropbox, Google Drive, MinIO, Wasabi, Hetzner, Generic S3
MonitoringBuilt-inCPU/memory/network metrics, sparkline charts, 5 alert channels (Email, Slack, Discord, Telegram, Webhook)
Uptime MonitoringBuilt-inHTTP health checks, incident detection, 90-day uptime, public status pages
Cron JobsDocker execCron expression scheduling, timeout, run history
Infrastructure (Business tier -- $99/mo)
FeatureDetails
Multi-server BYOSSSH tunnel to remote Docker daemons, image transfer, health monitoring
Horizontal scaling1-10 replicas, auto-scaling (CPU/memory thresholds)
Team & RBACOwner/admin/developer/viewer roles, project-level permissions, audit log
Container runtimesrunc (default), gVisor, Kata Containers (architecture ready)
AI Features (all tiers)
FeatureDetails
AI assistantClaude (Haiku, Sonnet, Opus) via OpenRouter
103 MCP toolsRead, write, sandbox, destructive -- with scoped API keys and risk classification
MCP serverConnect Claude Desktop, Cursor, or any MCP client
AI sandboxFull dev environment container for debugging
Web search + URL browsingTavily search + Jina browsing
6 specialist agentsDevOps, DBA, Security, Developer, SRE, Network
File/image uploads in chatMultimodal analysis
Safety layersScoped API keys, per-tool risk classification, confirmation tokens for destructive ops
BYOK supportBring your own Anthropic key with zero markup
Developer Tools
FeatureDetails
OpenAPI specAuto-generated from 182 Rust handler annotations
API explorerInteractive playground with live requests
Export configsDocker Compose, Kubernetes, AWS ECS, GCP Cloud Run, Vercel, Railway, Render
StackshotsExport/import full stack configuration
CLI30+ commands with --json output for CI/CD

170+ One-Click Templates

CategoryExamples
Databases (27)PostgreSQL, MySQL, MongoDB, Redis, CockroachDB, ClickHouse, Neo4j, Cassandra, TimescaleDB, InfluxDB, Qdrant, Weaviate, Chroma
CMS/E-Commerce (18)WordPress, Ghost, Strapi, Directus, Payload CMS, WooCommerce, PrestaShop, Medusa
AI/ML (8)Ollama, Open WebUI, Dify, Flowise, Langfuse, n8n, LocalAI, AnythingLLM
DevTools (12)Gitea, Forgejo, Jenkins, SonarQube, Vault, Registry, Portainer, Verdaccio
Analytics (7)Plausible, Umami, PostHog, Matomo, Grafana, Prometheus, Uptime Kuma
Auth (6)Keycloak, Authentik, Logto, SuperTokens, Authelia, Zitadel
Productivity (7)Nextcloud, Plane, Vikunja, NocoDB, Baserow, Outline, BookStack
Communication (5)Chatwoot, Rocket.Chat, Mattermost, Listmonk, Cal.com
And moreEmail, Queues, Search, Networking, Media, Finance, Education, Forums

CLI (30+ Commands)

sh0 push         Deploy local directory       sh0 scale      Scale replicas
sh0 deploy       Redeploy app                 sh0 logs -f    Stream logs
sh0 watch        Auto-deploy on changes       sh0 ssh        Shell into container
sh0 env          Manage env variables         sh0 cron       Manage cron jobs
sh0 preview      PR preview environments      sh0 export     Export to 7 platforms
sh0 templates    Browse 170+ templates        sh0 compose    Docker Compose deploy
sh0 check        Code health scan             sh0 domains    Manage domains
sh0 db           Database server management   sh0 storage    File storage management
sh0 mail         Email hosting management     sh0 auth       Auth server management
sh0 realtime     Realtime server management   sh0 fn         Function server management
sh0 uptime       Uptime check management      sh0 nodes      Multi-server management
sh0 login        Auth with remote server      sh0 whoami     Current user info

Security

  • AES-256-GCM encryption for all secrets, env vars, backup files, SSH keys
  • Argon2id password hashing (OWASP-recommended)
  • HTTP-only cookies with SameSite=Strict and CSRF protection
  • API keys with SHA-256 hashing, constant-time comparison, scoped permissions (read/standard/admin)
  • TOTP 2FA (RFC 6238) with 8 backup codes per user
  • RBAC with 4 roles: Owner, Admin, Developer, Viewer
  • Rate limiting on all sensitive endpoints
  • Full audit log with user, action, IP, timestamp
  • 8 security audits completed, 51+ issues found and fixed
  • Container security: no-new-privileges, resource limits, non-root users
  • Zero unwrap() in library code -- all errors handled via ? operator

Architecture

+---------------------------------------------+
|  sh0 binary (~50 MB)                        |
|  +---------+  +---------+  +----------+     |
|  | Axum    |  | SQLite  |  | Svelte 5 |     |
|  | API     |  | DB      |  | Dashboard|     |
|  +---------+  +---------+  +----------+     |
|  +---------+  +---------+  +----------+     |
|  | Caddy   |  | Docker  |  | AI/MCP   |     |
|  | Proxy   |  | Engine  |  | Server   |     |
|  +---------+  +---------+  +----------+     |
+---------------------------------------------+
  • Runtime: Tokio async + Axum 0.7 HTTP framework
  • Database: SQLite with WAL mode (48+ migrations)
  • Proxy: Caddy (managed child process, auto-SSL, Layer 4 TCP)
  • Containers: Docker Engine API via Unix socket
  • Dashboard: Svelte 5 SPA embedded into binary at compile time
  • Languages: English, French, Spanish, Portuguese, Chinese
  • API: 182 endpoints, OpenAPI 3.1 auto-generated spec

Pricing

Free ($0)Pro ($19/mo)Scale ($49/mo)Business ($99/mo)
Stacks13UnlimitedUnlimited
DeploymentsUnlimitedUnlimitedUnlimitedUnlimited
Templates170+170+170+170+
Auto-SSLYesYesYesYes
All managed services--YesYesYes
Cloud backups (13 backends)--YesYesYes
Full monitoring + alertsBasicFullFullFull
Uptime + status pages--YesYesYes
Multi-server + RBAC------Yes
Auto-scaling------Yes
AI assistantYesYesYesYes
AI tools (MCP)103103103103
BYOK------Yes
Audit log--90 days90 days1 year
SupportCommunityEmailEmailPriority

Environment Variables

VariableDescriptionDefault
SH0_PANEL_DOMAINCustom domain for the dashboard (enables auto-SSL)--
SH0_BASE_DOMAINBase domain for app preview URLs--
SH0_DATA_DIRData directory for database, backups, repos/var/lib/sh0
RUST_LOGLog level (trace, debug, info, warn, error)info
SH0_CORS_ORIGINSAllowed CORS origins (comma-separated)localhost:5173
GOOGLE_CLIENT_IDGoogle OAuth client ID for Sign in with Google--

Volumes

PathDescription
/var/lib/sh0Database, backups, repos, certs, encryption keys
/var/run/docker.sockDocker Engine socket (required)

Ports

PortDescription
9000sh0 dashboard and API
80HTTP (deployed apps, redirects to HTTPS)
443HTTPS (deployed apps, auto-SSL via Caddy)

Alternative Install (native binary)

curl -fsSL https://get.sh0.dev | bash

Creates a systemd service automatically on Linux. Single binary, no Docker required for the platform itself.



Built by ZeroSuite, Inc. -- Delaware C-Corporation. Powered by Claude as AI CTO.

Tag summary

Content type

Image

Digest

sha256:844b83890

Size

149.4 MB

Last updated

5 days ago

docker pull zerosuiteinc/sh0