Umami Setup Guide
Umami is a simple, privacy-focused analytics alternative to Google Analytics, hosted on the Web Application VM.
Prerequisites
- Node.js & Yarn
- PostgreSQL
- PM2 (Process Manager)
Installation (Source)
-
Clone Repository
git clone https://github.com/umami-software/umami.git
cd umami -
Install Dependencies
yarn install -
Configure Environment Create a
.envfile:DATABASE_URL=postgresql://<DB_USER>:<DB_PASS>@localhost:5432/umami -
Build
yarn build -
Database Migration The app will migrate the database schema on build/start.
Process Management (PM2)
Umami is kept alive using PM2.
Start
pm2 start yarn --name umami -- start
Save Process List (Run on Boot)
pm2 save
pm2 startup
Management
- Status:
pm2 status - Logs:
pm2 logs umami - Restart:
pm2 restart umami
Access
- Port: 3000 (Internal)
- Reverse Proxy: Accessible via
analytics.<INTERNAL_DOMAIN>or similar.