
Deploy umami-postgresql on Your Own Server
umami is a simple, easy to use, self-hosted web analytics solution. The goal is to provide you with a friendly privacy-focused alternative to Google Analytics.
Want to deploy umami-postgresql on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is umami-postgresql?
umami is a simple, easy to use, self-hosted web analytics solution. The goal is to provide you with a friendly privacy-focused alternative to Google Analytics. This app will install a default postgres instance with persistant data. You can choose the version yourself. The deployment was tested with postgres 18.x. For Updating just Deploy latest image from https://github.com/umami-software/umami/pkgs/container/umami using the Deploy via ImageName section in your Senate umami container For more details about umami, see: https://umami.is Enter your configuration parameters and click on next. It will take about a minute for the process to finish.
Self-Host umami-postgresql
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
umami_postgresql:
image: ghcr.io/umami-software/umami:3.0.3
environment:
DATABASE_URL: postgresql://umami:34729c88dfc09914@umami_postgresql-postgres/umami
depends_on:
- umami_postgresql-postgres
umami_postgresql-postgres:
image: postgres:18.1-alpine
environment:
POSTGRES_DB: umami
POSTGRES_INITDB_ARGS: ""
POSTGRES_PASSWORD: 34729c88dfc09914
POSTGRES_USER: umami
volumes:
- umami_postgresql-postgres-data:/var/lib/postgresql
volumes:
umami_postgresql-postgres-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:3000
Why Self-Host umami-postgresql?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
ghcr.io/umami-software/umami:${umami_version}Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"