Skip to content

coolify:destroy

Terminal window
php artisan coolify:destroy
Terminal window
--force # Skip confirmation prompts

Removes all resources created by coolify:provision:

  • Application container
  • PostgreSQL database
  • Dragonfly cache
  • Project (if empty)

This is a destructive operation. All data in databases will be permanently deleted.

Interactive destruction (with confirmations):

Terminal window
php artisan coolify:destroy

Force destruction without prompts:

Terminal window
php artisan coolify:destroy --force

After destruction, you may want to remove the .env entries:

Terminal window
COOLIFY_PROJECT_UUID=