Kembali ke dokumentasi
Deployment

Deploy dengan Local Build

Build Docker image di mesin dan deploy langsung ke server tanpa cloud CI/CD.

Intermediate5 min readUpdated 2026-03-29

Cara kerja local build

Local build memungkinkan menggunakan resource mesin untuk Docker builds:

  1. Server Compass build Docker image di mesin lokal
  2. Image yang di-build di-push langsung ke server via SSH
  3. Container dimulai di server

Tidak perlu service cloud CI/CD, container registries, atau akun pihak ketiga.

Memulai local build deploy

  1. Buka Stack Wizard
  2. Pilih Local Build sebagai lokasi build
  3. Pilih direktori proyek atau Dockerfile
  4. Server Compass mendeteksi framework dan menghasilkan Dockerfile jika diperlukan
  5. Konfigurasi environment variables dan port
  6. Klik Deploy — image build lokal dan ditransfer ke server

Upload code untuk deploy

Untuk proyek tanpa Dockerfile:

  1. Pilih Upload Code di Stack Wizard
  2. Pilih folder dari komputer
  3. Server Compass auto-deteksi framework (Next.js, Django, Laravel, dll.)
  4. Dockerfile di-generate otomatis
  5. Progres upload dilacak real-time
  6. Aplikasi di-build dan di-deploy di server

Screenshots

Deploy dengan Local Build - Screenshot 1
Deploy dengan Local Build - Screenshot 2

Video Tutorials

Related Features

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes.

Download Server Compass