docker-local

Automate local Drupal environment setup and troubleshooting with Docker Compose.

67|13|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/edutrul/drupal-ai --skill docker-local-edutrul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-local
Source: https://github.com/edutrul/drupal-ai/tree/main/.claude/skills/docker-local
Command: npx skills add https://github.com/edutrul/drupal-ai --skill docker-local-edutrul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Custom Docker Compose patterns and best practices for local Drupal development, enabling repeatable setups, easier troubleshooting, and safer experiments.

Core Features & Use Cases

  • Standard docker-compose.yml templates for PHP/Web, DB, and caching services tailored to Drupal projects.
  • Guidance on environment management with .env files, named volumes, and health checks.
  • Practical patterns for common workflows like container startup, builds, and one-off commands.

Quick Start

Use this skill to bootstrap a local Drupal environment with Docker Compose by running docker compose up -d.

Frequently Asked Questions about docker-local

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a local Drupal development environment using Docker Compose?

To set up a local Drupal development environment with Docker Compose, use standard templates for PHP/Web, database, and caching services, then run docker compose up -d to bootstrap the containers. This ensures repeatable setups and quick boots.

What is the best way to manage environment variables for local Docker containers?

The best way to manage environment variables for local Docker containers is by using .env files alongside named volumes and health checks. This pattern enforces predictable configurations and easier troubleshooting for your local setup.

Can I use these Docker Compose patterns for non-DDEV Drupal projects?

Yes, these Docker Compose patterns apply specifically to non-DDEV Drupal projects. They provide repeatable container configurations and reliable local testing for teams that want predictable outcomes without relying on DDEV.

How do I run one-off commands inside a local Drupal Docker container?

To run one-off commands inside a local Drupal Docker container, apply practical workflow patterns for container startup and builds. This allows you to execute specific tasks safely without disrupting the overall service definitions.

Why does my local Docker environment need health checks for Drupal services?

Your local Docker environment needs health checks for Drupal services to enforce reliable startup workflows and predictable outcomes. They monitor service availability, ensuring safer experiments and easier troubleshooting during local development.

What components are required to bootstrap a Docker Compose setup for Drupal?

Bootstrapping a Docker Compose setup for Drupal requires standard service definitions for PHP/Web, database, and caching. Configuring these tailored components with .env files and named volumes ensures a reliable local development environment.