wheels deploy status
Check deployment status across all servers.
Synopsis
Description
The wheels deploy:status
command checks the deployment status across all configured servers, including SSH connectivity, Docker status, container health, and optional database status. It provides a comprehensive view of your deployed application's health.
Options
servers=<string>
- Check specific servers (comma-separated list)--detailed
- Show detailed container information (default: false)--logs
- Show recent container logs (default: false)
Examples
Basic status check
Check specific servers
Detailed status with container information
Status with recent logs
Complete status check with all details
Status Information
The command checks the following components for each server:
Connection Status
SSH Connection: Verifies SSH connectivity to the server
Docker Availability: Checks if Docker is installed and running
Container Status
Container Running: Checks if the application container is running
Container Health: Shows container status (Up/Down time)
Image Version: Displays the current Docker image in use
Health Checks
HTTP Health Check: Tests the configured health endpoint
Response Code: Verifies HTTP 200 response
Database Status (if configured)
Database Container: Checks if database container is running
Database Health: Shows database container status
Output Examples
Basic status output
Detailed status output with --detailed
Status Output with Logs
When using the --logs
flag:
Use Cases
Pre-deployment check
Post-deployment verification
Health monitoring script
Troubleshooting specific server
Configuration
The status command uses configuration from config/deploy.yml
:
Error States
SSH Connection Failed
Container Not Running
Health Check Failed
Best Practices
Regular monitoring: Run status checks after deployments
Configure health endpoints: Ensure
/health
endpoint is properly implementedMonitor all servers: Don't assume all servers are in the same state
Check before deployment: Verify environment health before deploying
Use detailed mode: Use
--detailed
for troubleshootingReview logs: Use
--logs
when investigating issuesAutomate checks: Include status checks in deployment scripts
Troubleshooting
SSH Connection Issues
Verify SSH key is configured correctly
Check network connectivity to servers
Ensure user has proper permissions
Container Not Found
Verify deployment was successful
Check if container name matches service name
Ensure Docker is running on the server
Health Check Failures
Verify health endpoint path is correct
Check if application is fully started
Review application logs for errors
Ensure port is accessible
Database Issues
Verify database container is running
Check database connection settings
Review database logs
See Also
wheels deploy:push - Deploy application
wheels deploy:rollback - Rollback deployment
wheels deploy:logs - View deployment logs
Last updated
Was this helpful?