---
title: "Tianji analytics and uptime monitor on a VPS · CloudSat"
description: "Self-host Tianji on a CloudSat VPS: website analytics, uptime monitoring and server status in one dashboard, backed by PostgreSQL and served on port 12345."
url: https://cloudsat.io/apps/deploy-tianji
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Monitoring](https://cloudsat.io/apps/category/monitoring-and-analytics)

# Tianji on a VPS

Tianji combines website analytics, uptime monitoring and server status reports in one self-hosted dashboard, so three small tools become one.

[Deploy Tianji](https://dash.cloudsat.io/console/deploy?image=app%3Atianji&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About Tianji

Tianji is an Apache-2.0 tool that its authors sum up as insight into everything. A tracking script records visits to your websites, monitors check endpoints and alert you, and a small reporter sends CPU, memory and disk figures from your servers to the same dashboard. Telemetry and feed modules cover apps and event streams.

On a CloudSat VPS it replaces separate analytics, status and server dashboards with one service, which keeps monitoring for small projects simple. It stores data in PostgreSQL, started beside the app by the official compose file.

After deploy Tianji listens on port 12345. The default account is `admin` with password `admin`, and the project asks you to change it as soon as possible.

## What you get with Tianji

- Website analytics with a lightweight tracking script
- Uptime monitors with notifications
- Server status from a small reporter agent
- Telemetry endpoints for your own apps
- Open API for automation

## Tianji use cases

- Watch traffic and uptime for a handful of side projects
- See server load next to the sites that cause it
- Consolidate analytics and status checks into one tool

## After you deploy Tianji

1. When the server is **Running**, open `http://<server IP>:12345` and log in as `admin` with password `admin`.
2. Change the password right away; registration stays closed because `ALLOW_REGISTER` is false in the default compose file.
3. Add a website and paste its tracking snippet into your pages, then create a first monitor.
4. Move Tianji to a domain with HTTPS and set `PUBLIC_URL` to that address.

## Tianji ports

Open these in your firewall if you use one: `12345/tcp web interface and API`.

## Tianji FAQ

### What is the Tianji default login?

`admin` with password `admin`. Change it at first login, before the dashboard is reachable from the internet.

### Do I need a separate database server?

No. Tianji needs PostgreSQL, and the official compose file runs it in a container next to the app, so one server holds everything.

**Disclaimer.** The Tianji project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like Tianji

[All apps in Monitoring](https://cloudsat.io/apps/category/monitoring-and-analytics)

- [Umami](https://cloudsat.io/apps/deploy-umami): Monitoring Umami is open-source web and product analytics: page views, referrers, events and funnel reports in a clean dashboard, with the data kept on your server.
- [Uptime Kuma](https://cloudsat.io/apps/deploy-uptime-kuma): Monitoring Uptime Kuma is a self-hosted monitoring tool: HTTP, TCP, ping, DNS, Docker and push monitors, status pages and alerts through more than 90 notification services.
- [Beszel Hub](https://cloudsat.io/apps/deploy-beszel-hub): Monitoring Beszel is a lightweight monitoring hub: agents report CPU, memory, disk, network and Docker stats from each server, with history, alerts and multi-user access.
- [Ackee](https://cloudsat.io/apps/deploy-ackee): Monitoring Ackee is self-hosted, Node.js analytics that counts visits and events without cookies or unique user tracking, with MongoDB storing the numbers.
- [CheckCle](https://cloudsat.io/apps/deploy-checkcle): Monitoring CheckCle watches websites, certificates and servers and alerts you on Telegram, Slack or email. Give it its own server so it stays up when your apps fail.
- [Checkmate](https://cloudsat.io/apps/deploy-checkmate): Monitoring Checkmate tracks uptime, response times and page speed, and gathers server metrics through its Capture agent. Self-hosted, so there is no cap on monitors.
