Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

1.5 KB
Raw Blame
id: umami
name: Umami
version: "2.9"
description: Simple, fast, privacy-focused alternative to Google Analytics
icon: https://serverkit.ai/imgs/template-icons/umami.ico
website: https://umami.is
documentation: https://umami.is/docs
categories:
  - analytics
  - privacy
  - monitoring

variables:
  - name: HTTP_PORT
    description: HTTP port
    type: port
    default: "3000"
    hidden: true
  - name: APP_SECRET
    description: Application secret
    type: password
    generate: password
  - name: DB_PASSWORD
    description: PostgreSQL password
    type: password
    generate: password

ports:
  - port: 3000
    protocol: tcp
    description: Web interface

requirements:
  memory: 512MB
  storage: 2GB

compose:
  services:
    umami:
      image: ghcr.io/umami-software/umami:postgresql-v${VERSION:-2.9.0}
      container_name: ${APP_NAME}
      restart: unless-stopped
      environment:
        - DATABASE_URL=postgresql://umami:${DB_PASSWORD}@db:5432/umami
        - DATABASE_TYPE=postgresql
        - APP_SECRET=${APP_SECRET}
      ports:
        - "${HTTP_PORT}:3000"
      depends_on:
        - db

    db:
      image: postgres:15-alpine
      container_name: ${APP_NAME}-db
      restart: unless-stopped
      environment:
        - POSTGRES_USER=umami
        - POSTGRES_PASSWORD=${DB_PASSWORD}
        - POSTGRES_DB=umami
      volumes:
        - umami_db:/var/lib/postgresql/data

  volumes:
    umami_db:

post_install: |
  echo "Default login: admin / umami"
  echo "Please change the password after first login!"