---
title: "Umami template"
description: "Open-source web analytics, with its own PostgreSQL database."
path: "/templates/umami/"
---

# Umami

Open-source web analytics, with its own PostgreSQL database.

One command creates the umami app and a PostgreSQL database, then connects them. The app gets a public address.

## Install

Run it in the environment you want. The command waits until the public address responds.

```
dflow templates:install umami
```

One app and one PostgreSQL database.

## Application

- Name: umami
- Image: ghcr.io/umami-software/umami:latest
- Port: 3000
- Replicas: 1
- Address: Public route

## Database

- Name: umami-db
- Engine: PostgreSQL
- Database: umami
- Storage: 1Gi

## How they connect

- DATABASE_URL is the URL of umami-db.
- dFlow generates APP_SECRET for the app.