Skip to content

0-AI-UG/one-click-deploy

Repository files navigation

One-Click Deploy

Self-hosted PaaS for Hetzner Cloud. Git repo in, live HTTPS app out.

No Kubernetes. No YAML. Just your Hetzner account.

License: MIT Docker Stars

Deploy


A lightweight, self-hostable alternative to Heroku, Railway, and Render — built exclusively for Hetzner Cloud. Point it at a Git repo and your Hetzner account, and it provisions the server, builds your container, configures DNS, issues TLS, and serves traffic. One provider, deeply integrated: Hetzner servers, volumes, private networks, firewalls, and DNS.

Quick Start

You'll need a Hetzner Cloud API token (Read & Write) from your project's Security → API Tokens.

docker run --rm \
  -e OCD_AUTO_DEPLOY='{"provider_token":"<hetzner_token>","domain":"panel.example.com"}' \
  ghcr.io/0-ai-ug/one-click-deploy:latest

Open https://<domain> and create your admin account. That's it.

Prefer bash? Copy example.panel.json to panel.json and run ./scripts/bootstrap.sh.

Features

  • Deploy from any Git repo (Dockerfile or auto-detected via Railpack)
  • Auto-provisioned Hetzner Cloud servers, volumes, private networks, and firewalls
  • Auto TLS (Caddy + Let's Encrypt) and auto DNS via Hetzner DNS
  • Horizontal scaling, auto-scaling, pause/resume
  • Managed services: Postgres, Redis, MySQL, and more
  • Web terminal, log streaming, rollbacks, webhooks
  • Passkeys, TOTP, GitHub OAuth, multi-user RBAC
  • ocd CLI for Linux, macOS, Windows
  • Self-managing: the panel deploys itself

CLI

ocd login https://panel.example.com
ocd deploy
ocd logs my-app --tail=200
ocd ssh my-app -i

Development

bun install
bun run dev          # panel on :3001
bun run test
bun run build:cli

Built with Bun, TypeScript, React, SQLite, and Caddy.

Links

About

One-click deploy Docker apps to Hetzner Cloud

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages