Quick Deploy Applications | Docker & Git Deployment Guide | Nife Docs
Deploy applications, sites, and databases instantly with one click from your dashboard.
What is Quick Deploy?#
Quick Deploy is a fast-access deployment tool on your dashboard that lets you:
- Deploy applications - From Docker images or Git repositories
- Create sites - Deploy static or dynamic websites
- Setup databases - Launch new database instances
- Get started quickly - No navigation needed
Accessing Quick Deploy#
On your dashboard, look for the Quick Deploy section with a lightning bolt icon.
You'll see three buttons:
- Deploy App - Deploy a new application
- Deploy Site - Deploy a static or dynamic site
- New Database - Create a database instance
- View All Options - See all deployment types
Deploy Application#
Steps#
- Click Deploy App on the dashboard
- Choose deployment source:
- Docker Image - From a Docker registry
- Git Repository - From GitHub, GitLab, etc.
- Fill in required details:
- Application name
- Repository or image URL
- Environment variables (if needed)
- Click Deploy
- Monitor deployment progress
Deployment Methods#
Docker Image#
Use an existing Docker image from:
- Docker Hub (e.g.,
nginx:latest) - Private registry (if authenticated)
- Public registries
Steps:
- Enter image URL
- Set ports if needed
- Add environment variables
- Deploy
Example: ghcr.io/myuser/myapp:latest
Git Repository#
Deploy from your code repository:
- GitHub, GitLab, Bitbucket
- Automatic builds from source
- Auto-deploy on push (optional)
Steps:
- Select repository
- Choose branch
- Set build parameters
- Deploy
Example: https://github.com/username/my-app.git
Deploy Site#
Steps#
- Click Deploy Site on the dashboard
- Choose site type:
- Static Site - HTML, CSS, JavaScript only
- S3 Deployment - From S3 bucket
- Dynamic Site - Node.js, Python, etc.
- Upload files or configure:
- Select files to deploy
- Set configuration
- Add environment variables
- Click Deploy
Site Deployment Options#
Static Site#
- Pure HTML/CSS/JavaScript
- Fastest deployment
- No backend needed
- Upload folder with files
S3 Deployment#
- Deploy from AWS S3
- Large file handling
- Version management
- Origin protection
Dynamic Site#
- Need application runtime
- Support for backend
- Database connectivity
- More configuration options
Create Database#
Steps#
- Click New Database on the dashboard
- Choose database type:
- PostgreSQL - Open-source relational
- MySQL - Widely used relational
- MongoDB - Document database
- Redis - In-memory data store
- MariaDB - MySQL compatible
- Configure:
- Database name
- Username and password
- Size/resources
- Backup settings
- Click Create
- Wait for database to be ready
Database Configuration#
Resource Selection:
- Small - For development
- Medium - For production small apps
- Large - For high-traffic apps
- Custom - Specific requirements
Backup Settings:
- Daily backups
- Retention period
- Restore options
Deployment Best Practices#
Before Deploying#
โ Test locally - Ensure code works
โ Check configuration - Environment variables set
โ Review resources - Enough capacity allocated
โ Plan timing - Deploy during low traffic
โ Notify team - Let team know about deployment
During Deployment#
โ Monitor progress - Watch deployment status
โ Don't refresh - Let deployment finish
โ Check logs - Watch for errors
โ Have rollback plan - Know how to revert
After Deployment#
โ Test application - Verify it works
โ Check logs - Look for warnings
โ Monitor metrics - Watch resource usage
โ Alert setup - Configure monitoring
โ Document - Note what was deployed
Common Deployment Scenarios#
Deploying Simple App#
- Have Docker image ready
- Click Deploy App
- Select Docker Image
- Paste image URL
- Set environment variables
- Deploy and monitor
Example: Deploying Nginx
- Image:
nginx:latest - Port: 80
- No environment variables needed
Deploying Website#
- Have website files ready
- Click Deploy Site
- Select Static Site
- Upload site folder
- Set domain (optional)
- Deploy
Files needed:
- index.html
- CSS files
- JavaScript files
- Images
- Other assets
Adding Database to App#
- First create the database
- Click New Database
- Choose type
- Set name and password
- Deploy the application
- Click Deploy App
- Set database connection string as environment variable
- Monitor both
Troubleshooting Deployments#
Deployment Fails#
Check:
- Image/repository URL is correct
- Access credentials are valid
- Resource limits aren't exceeded
- Port isn't already in use
Solutions:
- Verify URL format
- Check credentials
- Free up resources
- Use different port
Application Won't Start#
Check:
- Environment variables are set
- Port is available
- Logs for error messages
- Resource requirements
Solutions:
- Add missing variables
- Change port
- Read error logs carefully
- Increase resources
Slow Deployment#
This is normal if:
- Downloading large images
- Building from source code
- First deployment takes longer
Speed up:
- Use smaller images
- Pre-build locally
- Use binary deployments
Deployment Limits#
Be aware of:
- Application size limits - Max file size
- Resource limits - CPU, memory per instance
- Database size limits - Storage capacity
- Bandwidth limits - Data transfer
Contact support if you need larger resources.
Next Steps#
Tips and Tricks#
โ Use View All Options for more deployment types
โ Save deployment configurations as templates
โ Use Git auto-deploy for CI/CD workflows
โ Set up alerts after deployment
โ Regular backups for databases
โ Monitor resource usage after deployment