diff --git a/blueprints/umami/docker-compose.yml b/blueprints/umami/docker-compose.yml new file mode 100644 index 0000000..26efd33 --- /dev/null +++ b/blueprints/umami/docker-compose.yml @@ -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: diff --git a/blueprints/umami/template.yml b/blueprints/umami/template.yml new file mode 100644 index 0000000..d9bed62 --- /dev/null +++ b/blueprints/umami/template.yml @@ -0,0 +1,13 @@ +variables: + main_domain: ${randomDomain} + +config: + domains: + - serviceName: umami + port: 3000 + host: ${main_domain} + + env: + APP_SECRET: ${base64:64} + + mounts: [] diff --git a/blueprints/umami/umami.png b/blueprints/umami/umami.png new file mode 100644 index 0000000..de2f761 Binary files /dev/null and b/blueprints/umami/umami.png differ diff --git a/meta.json b/meta.json index 1ae699d..3ebaad8 100644 --- a/meta.json +++ b/meta.json @@ -31,5 +31,21 @@ "analytics", "privacy" ] + }, + { + "id": "umami", + "name": "Umami", + "version": "v2.16.1", + "description": + "Umami is a simple, fast, privacy-focused alternative to Google Analytics.", + "logo": "umami.png", + "links": { + "github": "https://github.com/umami-software/umami", + "website": "https://umami.is", + "docs": "https://umami.is/docs" + }, + "tags": [ + "analytics" + ] } ]