sitectl

command module
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 1 Imported by: 0

README

sitectl

sitectl is the LibOps command-line tool for managing Docker Compose-backed application sites. It keeps contexts, Compose lifecycle commands, service helpers, component changes, local image overrides, validation, health checks, and deployment entrypoints in one consistent CLI.

Documentation: https://sitectl.libops.io

Requirements

Quick Start

Install sitectl, install the app plugin for the template you want to run, then create a local site:

sitectl create wp/default \
  --template-repo https://github.com/libops/wp \
  --path ./my-wordpress-site \
  --type local \
  --checkout-source template \
  --default-context

Start the site with the context-aware Compose wrapper:

sitectl compose up --remove-orphans -d

See Managed applications for the Compose, local image build, HTTPS, and development override contract.

Common Operations

Compose lifecycle is documented in sitectl compose:

sitectl compose ps
sitectl compose logs -f
sitectl compose down

Context and site checks are documented in sitectl healthcheck and sitectl validate:

sitectl healthcheck
sitectl validate

Local image overrides are documented in sitectl image:

sitectl image set --image app=ghcr.io/example/app:pr-123

Component changes are written with sitectl set and applied with sitectl converge:

sitectl set ingress enabled --mode https-default --domain app.localhost
sitectl set ingress enabled --trusted-ip 203.0.113.10/32 --max-upload-size 2G --upload-timeout 10m
sitectl converge

License

sitectl is licensed under the MIT License.

Attribution

  • The config commands for setting contexts were heavily inspired by kubectl.
  • Adding a TUI was inspired by 37signals' once CLI.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
job
plugin
Package plugin provides the SDK used by sitectl plugins.
Package plugin provides the SDK used by sitectl plugins.
tui
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL