Umami

Umami is a simple, easy to use, self-hosted web analytics solution. The goal is to provide you with a friendlier, privacy-focused alternative to Google Analytics and a free, open-sourced alternative to paid solutions. Umami collects only the metrics you care about and everything fits on a single page.

docker-compose.yml

version: '3'
services:
  umami:
    restart: unless-stopped
    labels:
      - traefik.http.services.umami.loadbalancer.server.port=3000
      - traefik.http.routers.umami.rule=Host(`DOMAIN_NAME`)
      - traefik.http.routers.umami.entrypoints=websecure
      - traefik.http.routers.umami.tls=true
      - traefik.http.routers.umami.tls.certresolver=leresolver
    image: ghcr.io/mikecao/umami:mysql-latest
    networks:
      - web
      - mariadb_database
    env_file:
      - .env
networks:
  web:
    external: true
  mariadb_database:
    external: true

.env

DATABASE_URL=mysql://umami:{PASSWORD}@mariadb:3306/umami
HASH_SALT={RANDOM_STRING}

Your Umami installation will create a default administrator account with theĀ username admin and the password umami

Emil Moe

Software- and Data Engineer

I created this website to help you empower your infrastructure and so you don't need to spend the same amount of hours as me on researching. I chose to make the site ad-free, so if you like what I do, please consider supporting my Patreon.

Leave a Reply

Your email address will not be published. Required fields are marked *