Skip to content

πŸš€ Open Source Deployment Platforms (Self-Hosted) ​

Last Updated: January 28, 2026
Goal: Deploy FlexGate without Docker using open-source platforms


🎯 Top Open Source Alternatives to Render ​

License: Apache 2.0 (Open Source)
Best for: Self-hosting with Docker-like simplicity

What is Coolify? ​

  • πŸ”₯ Open-source Heroku/Netlify/Vercel alternative
  • βœ… One-click deployment from Git
  • βœ… Built-in SSL certificates (Let's Encrypt)
  • βœ… Automatic deployments on push
  • βœ… Beautiful web UI
  • βœ… Database management (Redis, PostgreSQL, MongoDB)
  • βœ… Preview deployments for PRs
  • βœ… Zero-downtime deployments

Architecture: ​

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      Coolify Dashboard (Port 8000)       β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚  Git Integration (GitHub/GitLab)   β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚   FlexGate API + Admin UI          β”‚  β”‚
β”‚  β”‚   Auto-deployed on push            β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚   Redis + Other Services           β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Setup (5 minutes): ​

1. Install Coolify on your server:

bash
# On a fresh Ubuntu/Debian server (1GB RAM minimum)
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash

# Or via Docker
docker run -d \
  --name coolify \
  -p 8000:8000 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v coolify-data:/data \
  coollabsio/coolify:latest

2. Access dashboard:

Open: http://your-server-ip:8000
Create admin account

3. Deploy FlexGate:

1. Click "New Resource" β†’ "Public Repository"
2. Paste: https://github.com/tapas100/flexgate-proxy
3. Select branch: main
4. Build Command: npm ci && npm run build
5. Start Command: npm start
6. Port: 3000
7. Click "Deploy"

4. Add Admin UI:

1. Click "New Resource" β†’ "Static Site"
2. Repository: (same)
3. Build Command: cd admin-ui && npm ci && npm run build
4. Publish Directory: admin-ui/build
5. Click "Deploy"

Cost:

  • Self-hosted: $5-12/mo (VPS: Hetzner, DigitalOcean)
  • Coolify Cloud: Coming soon (managed option)

Documentation: https://coolify.io/docs


Option 2: CapRover ⭐ EXCELLENT ​

License: Apache 2.0 (Open Source)
Best for: Simple PaaS on your own server

What is CapRover? ​

  • βœ… Self-hosted Heroku alternative
  • βœ… One-click apps (PostgreSQL, Redis, etc.)
  • βœ… Auto SSL (Let's Encrypt)
  • βœ… CLI deployment
  • βœ… Web UI dashboard
  • βœ… No Docker knowledge needed

Setup: ​

1. Install CapRover:

bash
# On your server (Ubuntu/Debian)
docker run -p 80:80 -p 443:443 -p 3000:3000 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /captain:/captain \
  caprover/caprover

2. Setup domain:

bash
# Install CLI
npm install -g caprover

# Setup
caprover serversetup

3. Deploy FlexGate:

bash
# In your project root
cat > captain-definition << 'EOF'
{
  "schemaVersion": 2,
  "templateId": "node/20",
  "dockerfilePath": null,
  "imageName": null
}
EOF

# Deploy
caprover deploy

Cost: $5-10/mo (VPS hosting)

Documentation: https://caprover.com/docs


Option 3: Dokku ⭐ CLASSIC ​

License: MIT (Open Source)
Best for: Heroku-like experience, self-hosted

What is Dokku? ​

  • 🐳 Docker-powered mini-Heroku
  • βœ… Git push to deploy
  • βœ… Buildpacks (no Dockerfile needed)
  • βœ… Plugin ecosystem
  • βœ… CLI-focused (minimal UI)

Setup: ​

1. Install Dokku:

bash
# On Ubuntu 22.04+
wget -NP . https://dokku.com/install/v0.32.0/bootstrap.sh
sudo DOKKU_TAG=v0.32.0 bash bootstrap.sh

2. Create app:

bash
# On server
dokku apps:create flexgate-api
dokku apps:create flexgate-admin

# Set buildpack
dokku buildpacks:set flexgate-api https://github.com/heroku/heroku-buildpack-nodejs

3. Deploy:

bash
# On local machine
git remote add dokku dokku@your-server:flexgate-api
git push dokku main

Cost: $5-10/mo (VPS)

Documentation: https://dokku.com/docs


Option 4: Easypanel ⭐ MODERN ​

License: Open Source
Best for: Visual deployment management

What is Easypanel? ​

  • βœ… Modern UI (similar to Vercel/Netlify)
  • βœ… Built on Docker
  • βœ… Template marketplace
  • βœ… Easy database management
  • βœ… GitHub integration

Setup: ​

1. Install:

bash
curl -sSL https://get.easypanel.io | sh

2. Access:

Open: http://your-server-ip:3000

3. Deploy:

1. Connect GitHub
2. Select flexgate-proxy repo
3. Auto-detects Node.js
4. Click Deploy

Cost: Free (self-hosted) or $20/mo (managed)

Documentation: https://easypanel.io/docs


Option 5: Piku ⭐ MINIMALIST ​

License: MIT (Open Source)
Best for: Simple, Heroku-like, single file

What is Piku? ​

  • 🎯 Minimal (single Python file!)
  • βœ… Git push to deploy
  • βœ… No Docker required
  • βœ… Runs on Raspberry Pi
  • βœ… Super lightweight

Setup: ​

1. Install:

bash
curl https://piku.github.io/get | sh

2. Deploy:

bash
git remote add piku piku@your-server:flexgate
git push piku main

Cost: $5/mo (tiny VPS works)

Documentation: https://piku.github.io


Option 6: Kamal (by 37signals/Basecamp) ⭐ NEW ​

License: MIT (Open Source)
Best for: Zero-downtime deployments

What is Kamal? ​

  • πŸš€ Created by Ruby on Rails team
  • βœ… Deploy to any server
  • βœ… Zero-downtime deployments
  • βœ… Secrets management
  • βœ… Health checks built-in

Setup: ​

1. Install:

bash
gem install kamal

2. Initialize:

bash
kamal init

3. Deploy:

bash
kamal deploy

Documentation: https://kamal-deploy.org


Option 7: Porter ⭐ KUBERNETES ​

License: MIT (Open Source)
Best for: If you need Kubernetes

What is Porter? ​

  • ☸️ Kubernetes made simple
  • βœ… Heroku-like experience on K8s
  • βœ… Auto-scaling
  • βœ… Multi-cloud (AWS, GCP, Azure, DO)

Cost: Self-hosted free, or Porter Cloud

Documentation: https://porter.run/docs


πŸ“Š Comparison Table ​

PlatformLicenseComplexityUIDatabase SupportBest For
CoolifyApache 2.0Lowβ­β­β­β­β­βœ… Built-inModern PaaS
CapRoverApache 2.0Lowβ­β­β­β­βœ… One-clickSimple hosting
DokkuMITMediumβ­β­βœ… PluginsHeroku clone
EasypanelOpenLowβ­β­β­β­β­βœ… Built-inVisual UI
PikuMITLow⭐⚠️ ManualMinimal
KamalMITMedium⭐⚠️ ManualZero-downtime
PorterMITHighβ­β­β­βœ… K8sEnterprise

Best Overall: Coolify πŸ† ​

Why?

  1. βœ… Beautiful modern UI
  2. βœ… Git push auto-deploy
  3. βœ… Built-in Redis, PostgreSQL
  4. βœ… Free SSL certificates
  5. βœ… Active development
  6. βœ… Great documentation
  7. βœ… Preview deployments
  8. βœ… Easy backup/restore

Setup Time: 10 minutes
Cost: $6/mo (Hetzner CX11) or $12/mo (DigitalOcean)


Step 1: Get a Server ​

Providers (cheapest to most expensive):

Hetzner Cloud: €4.15/mo (CX11 - 2GB RAM)
Vultr: $6/mo (1GB RAM)
DigitalOcean: $12/mo (2GB RAM)
Linode: $12/mo (2GB RAM)

Step 2: Install Coolify ​

bash
# SSH into your server
ssh root@your-server-ip

# Install Coolify (one command!)
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash

# Wait 2-3 minutes for installation

Step 3: Access Dashboard ​

bash
# Open in browser
http://your-server-ip:8000

# Create admin account
# Username: admin
# Password: (choose strong password)

Step 4: Deploy FlexGate ​

In Coolify Dashboard:

1. Click "+" β†’ "New Resource" β†’ "Public Repository"

2. Git Settings:
   - Repository: https://github.com/tapas100/flexgate-proxy
   - Branch: main
   - Auto Deploy: ON

3. Build Settings:
   - Type: NodeJS
   - Build Command: npm ci && npm run build
   - Start Command: npm start
   - Port: 3000

4. Environment Variables:
   - NODE_ENV=production
   - PORT=3000
   - JWT_SECRET=<auto-generated>

5. Click "Deploy"

Step 5: Add Redis ​

1. Click "+" β†’ "New Database" β†’ "Redis"
2. Name: flexgate-redis
3. Version: 7
4. Click "Deploy"
5. Copy connection string
6. Add to FlexGate env vars: REDIS_URL

Step 6: Deploy Admin UI ​

1. Click "+" β†’ "New Resource" β†’ "Public Repository"
2. Same repo: https://github.com/tapas100/flexgate-proxy
3. Build Settings:
   - Type: Static Site
   - Build Command: cd admin-ui && npm ci && npm run build
   - Publish Directory: admin-ui/build
   - Base Directory: admin-ui
4. Environment Variables:
   - REACT_APP_API_URL=<flexgate-api-url>
5. Click "Deploy"

Step 7: Setup Custom Domain (Optional) ​

1. In Coolify Dashboard β†’ Your App
2. Click "Domains"
3. Add: api.flexgate.io
4. SSL: Auto (Let's Encrypt)
5. Point your DNS:
   - Type: A
   - Name: api
   - Value: your-server-ip

πŸ’° Cost Comparison ​

Open Source (Self-Hosted): ​

Server (Hetzner): €4.15/mo
Domain: $12/year = $1/mo
SSL: Free (Let's Encrypt)
─────────────────────────
Total: ~$6/mo

Render (Managed): ​

Web Service: $7/mo
Redis: $7/mo
Static Site: Free
─────────────────────────
Total: $14/mo

DigitalOcean App Platform (Managed): ​

Basic App: $12/mo
Redis: $15/mo
─────────────────────────
Total: $27/mo

Savings with self-hosting: $8-21/mo πŸ’°


πŸ”§ Required Changes for Coolify ​

Update package.json: ​

json
{
  "engines": {
    "node": "20.x",
    "npm": "10.x"
  },
  "scripts": {
    "build": "tsc -p tsconfig.build.json",
    "start": "node ./dist/bin/www",
    "deploy": "echo 'Deploy via Coolify dashboard'"
  }
}

Add .coolify/deploy.sh (optional): ​

bash
#!/bin/bash
set -e

echo "πŸš€ Building FlexGate..."
npm ci
npm run build

echo "βœ… Build complete!"

πŸ“ Next Steps ​

I recommend Coolify because:

  1. βœ… Open source (Apache 2.0)
  2. βœ… Modern UI (better than Render)
  3. βœ… Self-hosted (you own your data)
  4. βœ… Cost-effective ($6/mo vs $27/mo)
  5. βœ… Easy to use (no Docker knowledge needed)
  6. βœ… Active community (growing fast)

Want me to:

  1. Create Coolify deployment configuration?
  2. Set up a Hetzner server for you?
  3. Show alternative like CapRover or Dokku?

Let me know which platform you prefer! πŸš€

Released under the MIT License.