-
Notifications
You must be signed in to change notification settings - Fork 0
drupal stack
Paulo Maia Carvalho edited this page May 20, 2026
·
1 revision
Manage the full lifecycle of the Drupal Docker stack — start, stop, restart, status check, and destroy.
/drupal-stack
/drupal-stack action=stop
/drupal-stack action=status
/drupal-stack action=restart
/drupal-stack action=destroy
| Parameter | Default | Options |
|---|---|---|
action |
start |
start, stop, status, restart, destroy
|
db |
mariadb |
mariadb, postgres, sqlite
|
php_port |
auto-detect | any port number |
db_port |
auto-detect | any port number |
Starts the stack if not already running. Equivalent to /drupal-serve but with explicit action semantics.
Stops all containers in the Drupal stack without removing them:
docker compose -f /workspace/.piclaw/stack/docker-compose.yml stopStops and starts the stack. Useful after config changes.
Shows which containers are running, their ports, and health state:
docker compose -f /workspace/.piclaw/stack/docker-compose.yml psStops and removes all containers and volumes. Use this to reset the database completely.
docker compose -f /workspace/.piclaw/stack/docker-compose.yml down -vThe agent asks for explicit confirmation before running destroy.
- Stack config lives at
/workspace/.piclaw/stack/docker-compose.yml. Edit this file to customise the stack (PHP version, memory limits, etc.). -
/drupal-serveis the quick-start alias for first-time setup./drupal-stackis for ongoing management.
- drupal-serve — quick start for first-time setup
- drupal-status — Drupal application status (separate from container status)
- drupal-logs — view container and application logs