△ docktree v0.4.0
About
  • Overview
Architecture & Design
  • Architecture & Design
Getting Started
  • Installation
  • Quick Start
Integrations
  • Overview & Setup
Commands
  • up
  • down
  • stop
  • status
  • ports
  • volumes
  • create
  • prepare
  • sync
  • clean
  • platform
  • proxy
  • tunnel
  • init
  • docker
Configuration
  • docktree.yml
docs / index
HomeGitHub

Documentation

Learn how to install Docktree, manage worktree Compose stacks, and configure shared services.

Overview

What Docktree is and how it works.

Architecture & Design

Detailed look at Docktree architecture, platform tier, and database tenancy.

Installation

Install Docktree via Homebrew or download the binary directly.

Quick Start

Spin up two worktree stacks running concurrently in under a minute.

Integrations

How to integrate Docktree with your AI agents, CI/CD pipelines, and git worktree managers.

up

Start the current worktree's Compose project.

down

Stop the current worktree's Compose project.

stop

Stop running containers without removing them.

status

Show managed worktree services.

ports

Show allocated host ports.

volumes

Show Docktree-managed volumes.

create

Create a worktree and prepare its local Docker setup.

prepare

Prepare the current worktree's local Docker setup.

sync

Sync setup.copy files to all worktrees.

clean

Remove stale Docktree-managed resources.

platform

Manage the repo-scoped shared services platform.

proxy

Reverse proxy routing by hostname to worktree ports.

tunnel

Expose worktrees externally via Cloudflare Tunnel or ngrok.

init

Generate a docktree.yml from your compose files.

docker

Run any docker compose subcommand with worktree context pre-filled.

docktree.yml

Configuration reference for docktree.yml.