mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Add Umami analytics blueprint with Docker Compose and configuration
This commit is contained in:
34
blueprints/umami/docker-compose.yml
Normal file
34
blueprints/umami/docker-compose.yml
Normal 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:
|
||||||
13
blueprints/umami/template.yml
Normal file
13
blueprints/umami/template.yml
Normal 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
BIN
blueprints/umami/umami.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
16
meta.json
16
meta.json
@@ -31,5 +31,21 @@
|
|||||||
"analytics",
|
"analytics",
|
||||||
"privacy"
|
"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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user