Skip to content

Deployment Guide

Panduan deployment RetailOS ke production environment. RetailOS menggunakan bare metal deployment dengan Go binary + systemd, tanpa container orchestration.

Deployment Architecture

Deploy Scripts

RetailOS menyediakan 4 script di deploy/fresh-server/ untuk setup server dari nol:

ScriptFungsi
01-harden.shHardening server baru (SSH, UFW, fail2ban, install PostgreSQL + Nginx)
02-deploy.shBuild Go binaries, upload ke server, setup systemd services
03-tailscale-cloudflare.shInstall Tailscale VPN, lock firewall ke Cloudflare IPs
04-webapps.shBuild & deploy semua portal web, docs, dan Uptime Kuma

Komponen & Port

KomponenImage/BinaryPortTipe
Cloud Hubretailos-cloud-hub8090Go binary + systemd
Store Routerretailos-store-router8081Go binary + systemd
DC Edgeretailos-dc-edge8082Go binary + systemd
PostgreSQLSystem package5432Database
NginxSystem package80, 443Reverse proxy
Uptime KumaDocker container3001Monitoring
HO FinanceStatic filesvia NginxVite SPA
Store AdminStatic filesvia NginxVite SPA

Halaman Terkait

RetailOS - Sistem ERP Retail Modern untuk Indonesia