Template: template-umami — docker-compose.yml and README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 23:43:39 +01:00
co-authored by Claude Opus 5.5
commit f9bbb1d81f
3 changed files with 60 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
# Umami — privacy-friendly web analytics, a self-hosted alternative to Google Analytics.
# On Jambotron: deploy → domain on the umami service, port 3000 → log in as admin / umami and change the password.
# UMAMI_DB_PASSWORD and UMAMI_APP_SECRET are project variables: one-click deploy generates them.
services:
umami-db:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: umami
POSTGRES_USER: umami
POSTGRES_PASSWORD: ${UMAMI_DB_PASSWORD:?set UMAMI_DB_PASSWORD}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U umami -d umami"]
interval: 5s
timeout: 3s
retries: 10
volumes:
- db_data:/var/lib/postgresql/data
mem_limit: 256m
umami:
image: ghcr.io/umami-software/umami:3.5
restart: unless-stopped
depends_on:
umami-db:
condition: service_healthy
expose:
- "3000"
environment:
DATABASE_URL: postgresql://umami:${UMAMI_DB_PASSWORD}@umami-db:5432/umami
APP_SECRET: ${UMAMI_APP_SECRET:?set UMAMI_APP_SECRET}
mem_limit: 768m
volumes:
db_data: