aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-24 13:09:50 +0000
committerFuwn <[email protected]>2026-01-24 13:09:50 +0000
commit396acf3bbbe00a192cb0ea0a9ccf91b1d8d2850b (patch)
treeb9df4ca6a70db45cfffbae6fdd7252e20fb8e93c /docker-compose.yml
downloadumami-396acf3bbbe00a192cb0ea0a9ccf91b1d8d2850b.tar.xz
umami-396acf3bbbe00a192cb0ea0a9ccf91b1d8d2850b.zip
Initial commitHEADmain
Created from https://vercel.com/new
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..348c294
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,35 @@
+---
+services:
+ umami:
+ image: ghcr.io/umami-software/umami:latest
+ ports:
+ - "3000:3000"
+ environment:
+ DATABASE_URL: postgresql://umami:umami@db:5432/umami
+ APP_SECRET: replace-me-with-a-random-string
+ depends_on:
+ db:
+ condition: service_healthy
+ init: true
+ restart: always
+ healthcheck:
+ test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"]
+ interval: 5s
+ timeout: 5s
+ retries: 5
+ db:
+ image: postgres:15-alpine
+ environment:
+ POSTGRES_DB: umami
+ POSTGRES_USER: umami
+ POSTGRES_PASSWORD: umami
+ volumes:
+ - umami-db-data:/var/lib/postgresql/data
+ restart: always
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
+ interval: 5s
+ timeout: 5s
+ retries: 5
+volumes:
+ umami-db-data: