Upload Umami Quadlets

This commit is contained in:
James Musselman 2024-11-30 00:35:36 -06:00
commit 6041e8d013
3 changed files with 32 additions and 0 deletions

13
umami/umami-db.container Normal file
View file

@ -0,0 +1,13 @@
[Container]
ContainerName=umami-db
Environment=POSTGRES_DB=umami POSTGRES_USER=umami POSTGRES_PASSWORD=umami
HealthCmd=pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}
HealthInterval=5s
HealthRetries=5
HealthTimeout=5s
Image=docker.io/postgres:15-alpine
Volume=%h/umami/db-data:/var/lib/postgresql/data:Z
Network=umami.network
[Service]
Restart=always

14
umami/umami.container Normal file
View file

@ -0,0 +1,14 @@
[Container]
ContainerName=umami
Environment=DATABASE_URL=postgresql://umami:umami@umami-db:5432/umami DATABASE_TYPE=postgresql APP_SECRET=replace-me-with-a-random-string
HealthCmd=curl http://localhost:3000/api/heartbeat
HealthInterval=5s
HealthRetries=5
HealthTimeout=5s
Image=ghcr.io/umami-software/umami:postgresql-latest
PublishPort=3000:3000
Network=umami.network
[Service]
Restart=always

5
umami/umami.network Normal file
View file

@ -0,0 +1,5 @@
[Unit]
Description=Umami Network
[Network]
NetworkName=umami