Template: template-umami — docker-compose.yml and README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
* text=auto eol=lf
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
# Umami on Jambotron
|
||||||
|
|
||||||
|
Privacy-friendly web analytics — a self-hosted alternative to Google Analytics.
|
||||||
|
|
||||||
|
A ready-made template for [Jambotron](https://jambotron.com): one `docker-compose.yml` with the official image, nothing to build.
|
||||||
|
|
||||||
|
## Deploy in one click
|
||||||
|
|
||||||
|
1. Sign in to [jambotron.com](https://jambotron.com).
|
||||||
|
2. Press **Deploy** on the **Umami** card ([jambotron.com/apps](https://jambotron.com/apps), the home page or an empty projects page).
|
||||||
|
3. Jambotron uploads this template, generates random secrets (project variables `UMAMI_DB_PASSWORD`, `UMAMI_APP_SECRET`), adds an HTTPS subdomain to the `umami` service (port 3000) and starts the deploy.
|
||||||
|
4. Open the address, log in as `admin` / `umami` and **change the password right away**. Add your website and put the tracking script on its pages.
|
||||||
|
|
||||||
|
## Deploy it yourself
|
||||||
|
|
||||||
|
Download this repository as a ZIP, create a project on Jambotron, upload the ZIP, pick `docker-compose.yml`, set the project variables `UMAMI_DB_PASSWORD` and `UMAMI_APP_SECRET`, deploy and add a domain to the `umami` service, port 3000. Or point a project at this repository (deploy from Git).
|
||||||
|
|
||||||
|
## Data
|
||||||
|
|
||||||
|
Named volumes survive redeploys: `db_data` — the PostgreSQL database with websites, users and statistics.
|
||||||
|
|
||||||
|
## Limits
|
||||||
|
|
||||||
|
Fits the free plan: `umami` gets 768 MB and PostgreSQL 256 MB of the 1 GB project memory.
|
||||||
@@ -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:
|
||||||
Reference in New Issue
Block a user