sitectl-drupal simplifies the creation and operation of repositories created using the LibOps Drupal template. It provides sitectl commands for Drush, development mode, config sync, login links, validation, health checks, and component-driven customization.
Documentation: https://sitectl.libops.io/plugins/drupal
sitectlv1.8.2 or newer, using RPC protocol 1.- Docker with the Compose v2 plugin for local Drupal sites.
- No additional app-plugin dependency beyond core
sitectl. - Drupal template v1.2.0 or newer for the versioned rollout and verification programs required by
sitectl-drupalv1.4.0 and newer.
Create a local Drupal site from the matching template:
sitectl create drupal/default \
--template-repo https://github.com/libops/drupal \
--path ./my-drupal-site \
--type local \
--checkout-source template \
--default-contextThe template README is at https://github.com/libops/drupal.
Use sitectl compose to start or inspect the stack:
sitectl compose up --remove-orphans -dUse sitectl healthcheck and sitectl validate to check the site:
sitectl healthcheck
sitectl verify --strict
sitectl validateUse sitectl deploy for application updates. Before it stops the current containers, the Drupal plugin verifies that the checkout contains the template's readiness, migration, and application-verification programs and mounts them read-only at their stable container paths. If a checkout predates template v1.2.0, update it from the LibOps Drupal template first and rerun the deploy; the plugin does not substitute inline fallback code.
Use sitectl image for local image or build-arg overrides:
sitectl image set --tag drupal=nginx-1.30.3-php84Use sitectl set for component changes; it updates component-owned files immediately:
sitectl set dev-mode enabledSee the Drupal plugin docs for Drush, sync, ULI, and Drupal-specific workflows.
sitectl-drupal is licensed under the MIT License.