Add Umami analytics blueprint with Docker Compose and configuration

This commit is contained in:
Mauricio Siu
2025-03-09 17:17:36 -06:00
parent f12a8ed81e
commit dc5c33b6c0
4 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
services:
umami:
image: ghcr.io/umami-software/umami:postgresql-v2.16.1
restart: always
healthcheck:
test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"]
interval: 5s
timeout: 5s
retries: 5
depends_on:
db:
condition: service_healthy
environment:
DATABASE_URL: postgresql://umami:umami@db:5432/umami
DATABASE_TYPE: postgresql
APP_SECRET: ${APP_SECRET}
db:
image: postgres:15-alpine
restart: always
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5
volumes:
- db-data:/var/lib/postgresql/data
environment:
POSTGRES_DB: umami
POSTGRES_USER: umami
POSTGRES_PASSWORD: umami
volumes:
db-data:

View File

@@ -0,0 +1,13 @@
variables:
main_domain: ${randomDomain}
config:
domains:
- serviceName: umami
port: 3000
host: ${main_domain}
env:
APP_SECRET: ${base64:64}
mounts: []

BIN
blueprints/umami/umami.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB