aboutsummaryrefslogtreecommitdiff
path: root/podman/podman-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 /podman/podman-compose.yml
downloadumami-main.tar.xz
umami-main.zip
Initial commitHEADmain
Created from https://vercel.com/new
Diffstat (limited to 'podman/podman-compose.yml')
-rw-r--r--podman/podman-compose.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/podman/podman-compose.yml b/podman/podman-compose.yml
new file mode 100644
index 0000000..fcd4b3a
--- /dev/null
+++ b/podman/podman-compose.yml
@@ -0,0 +1,41 @@
+version: "3.8"
+
+services:
+ umami:
+ container_name: umami
+ image: ghcr.io/umami-software/umami:postgresql-latest
+ ports:
+ - "127.0.0.1:3000:3000"
+ environment:
+ DATABASE_URL: ${DATABASE_URL}
+ DATABASE_TYPE: ${DATABASE_TYPE}
+ APP_SECRET: ${APP_SECRET}
+ depends_on:
+ db:
+ condition: service_healthy
+ init: true
+ restart: always
+ healthcheck:
+ test: ["CMD-SHELL", "curl -f http://localhost:3000/api/heartbeat || exit 1"]
+ interval: 5s
+ timeout: 5s
+ retries: 5
+
+ db:
+ container_name: umami-db
+ image: docker.io/library/postgres:15-alpine
+ environment:
+ POSTGRES_DB: ${POSTGRES_DB}
+ POSTGRES_USER: ${POSTGRES_USER}
+ POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
+ volumes:
+ - umami-db-data:/var/lib/postgresql/data:Z
+ restart: always
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
+ interval: 5s
+ timeout: 5s
+ retries: 5
+
+volumes:
+ umami-db-data: