Deployments
Learn how to deploy and manage your applications.
Deployment Process
When you trigger a deployment, Mist:
- Clones your Git repository (for web/service apps)
- Builds Docker image using your Dockerfile with environment variables as build args
- Stops the previous container (if exists)
- Starts new container with updated code
- Updates Traefik routing configuration (for web apps with domains)
- Streams real-time logs to your dashboard
For database applications, Mist pulls the Docker image instead of building from source.
Triggering Deployments
Manual Deployment
Click the "Deploy" button in your application dashboard.
Automatic Deployment
Configure GitHub webhooks to auto-deploy on push:
- Install Mist GitHub App on your repository
- Enable webhooks in application settings
- Push to your configured branch
- Deployment triggers automatically
Learn more about Git integration →
Deployment Status
Monitor deployment progress in real-time:
- 🟡 Queued - Waiting in deployment queue
- 🔵 Building - Docker image being built
- 🟢 Running - Container started successfully
- 🔴 Failed - Deployment encountered an error
Build Logs
View detailed build logs during and after deployment:
- Go to Deployments tab
- Click on a deployment
- View streaming logs in real-time
Logs include:
- Git clone output
- Build command execution
- Docker image creation
- Container startup
Deployment History
Track all deployments with full history:
- Deployment timestamp
- Commit hash and message
- Build duration
- Status (success/failed)
- Triggering user or webhook
Coming Soon
- Rollback - Revert to previous deployments with one click
- Blue-Green Deployments - Zero-downtime deployments
- Canary Releases - Gradual traffic shifting
- Deployment Hooks - Pre/post deploy scripts
- Manual Approval - Require approval before production deploys
- Scheduled Deployments - Deploy at specific times
- Preview Environments - Auto-deploy pull requests
Troubleshooting
Build Failures
Common causes:
- Missing dependencies
- Incorrect build command
- Dockerfile errors
- Insufficient permissions
Solution: Check build logs for specific error messages
Container Won't Start
Possible issues:
- Wrong start command
- Port configuration mismatch
- Missing environment variables
- Application crashes on startup
Solution: Review container logs for errors
Slow Builds
Optimization tips:
- Use
.dockerignoreto exclude unnecessary files - Implement Docker layer caching
- Use multi-stage builds
- Optimize dependency installation
Best Practices
- ✅ Test locally before deploying
- ✅ Use feature branches for experimentation
- ✅ Monitor logs during deployment
- ✅ Set up health checks
- ✅ Keep deployment logs for debugging
