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#

  1. Click Deploy App on the dashboard
  2. Choose deployment source:
    • Docker Image - From a Docker registry
    • Git Repository - From GitHub, GitLab, etc.
  3. Fill in required details:
    • Application name
    • Repository or image URL
    • Environment variables (if needed)
  4. Click Deploy
  5. 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:

  1. Enter image URL
  2. Set ports if needed
  3. Add environment variables
  4. 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:

  1. Select repository
  2. Choose branch
  3. Set build parameters
  4. Deploy

Example: https://github.com/username/my-app.git

Deploy Site#

Steps#

  1. Click Deploy Site on the dashboard
  2. Choose site type:
    • Static Site - HTML, CSS, JavaScript only
    • S3 Deployment - From S3 bucket
    • Dynamic Site - Node.js, Python, etc.
  3. Upload files or configure:
    • Select files to deploy
    • Set configuration
    • Add environment variables
  4. 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#

  1. Click New Database on the dashboard
  2. Choose database type:
    • PostgreSQL - Open-source relational
    • MySQL - Widely used relational
    • MongoDB - Document database
    • Redis - In-memory data store
    • MariaDB - MySQL compatible
  3. Configure:
    • Database name
    • Username and password
    • Size/resources
    • Backup settings
  4. Click Create
  5. 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#

  1. Have Docker image ready
  2. Click Deploy App
  3. Select Docker Image
  4. Paste image URL
  5. Set environment variables
  6. Deploy and monitor

Example: Deploying Nginx

  • Image: nginx:latest
  • Port: 80
  • No environment variables needed

Deploying Website#

  1. Have website files ready
  2. Click Deploy Site
  3. Select Static Site
  4. Upload site folder
  5. Set domain (optional)
  6. Deploy

Files needed:

  • index.html
  • CSS files
  • JavaScript files
  • Images
  • Other assets

Adding Database to App#

  1. First create the database
    • Click New Database
    • Choose type
    • Set name and password
  2. Deploy the application
    • Click Deploy App
    • Set database connection string as environment variable
  3. Monitor both

Troubleshooting Deployments#

Deployment Fails#

Check:

  1. Image/repository URL is correct
  2. Access credentials are valid
  3. Resource limits aren't exceeded
  4. Port isn't already in use

Solutions:

  1. Verify URL format
  2. Check credentials
  3. Free up resources
  4. Use different port

Application Won't Start#

Check:

  1. Environment variables are set
  2. Port is available
  3. Logs for error messages
  4. Resource requirements

Solutions:

  1. Add missing variables
  2. Change port
  3. Read error logs carefully
  4. 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