What problem does it solve?
Debugging, testing, and managing MikoPBX Docker containers (mikopbx_php83/mikopbx_php74) can be complex, involving manual IP/port discovery, restarts, and worker management. This Skill automates these tasks, saving you time and reducing manual errors.
Core Features & Use Cases
- Connection Parameter Retrieval: Instantly get container IP addresses, HTTP/HTTPS/SIP/SSH ports, and API URLs. Perfect for setting up API or Playwright tests.
- Container & Worker Management: Gracefully restart entire containers or specific worker processes (e.g.,
WorkerApiCommands) with robust health checks. Essential for quick reloads after code changes.
- Troubleshooting & Health Checks: Verify container status, service health (PHP-FPM, Redis, Asterisk, Web), and retrieve default credentials. Quickly diagnose and resolve connectivity issues.
- Use Case: Before running API tests, use this skill to quickly get the correct API endpoint URL and credentials for your
mikopbx_php83 container. After modifying REST API code, restart only the WorkerApiCommands worker for a fast, targeted reload, avoiding a full container restart.
Quick Start
Get all container info
.claude/skills/container-inspector/scripts/get-container-info.sh
Restart container with service wait
.claude/skills/container-inspector/scripts/restart-container.sh mikopbx_php83 --wait-services