aboutsummaryrefslogtreecommitdiff
path: root/external/umami
diff options
context:
space:
mode:
authorDylan Bolger <dylan.bolger00@gmail.com>2024-04-28 00:31:28 -0500
committerDylan Bolger <dylan.bolger00@gmail.com>2024-04-28 00:31:28 -0500
commit75a4dc69f9f9912cc6efa7d45299dc6802355c8d (patch)
tree7e5201c7b930baac86fcc122b8dbd8f66941b96c /external/umami
parenta0f9825517624dc1355b0e7b0d9610163205e46d (diff)
downloadpi-composition-75a4dc69f9f9912cc6efa7d45299dc6802355c8d.tar.xz
pi-composition-75a4dc69f9f9912cc6efa7d45299dc6802355c8d.zip
add compose filesHEADmaster
Diffstat (limited to 'external/umami')
-rw-r--r--external/umami/compose.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/external/umami/compose.yaml b/external/umami/compose.yaml
new file mode 100644
index 0000000..0672c19
--- /dev/null
+++ b/external/umami/compose.yaml
@@ -0,0 +1,38 @@
+version: '3'
+services:
+ umami:
+ container_name: umami
+ image: ghcr.io/umami-software/umami:postgresql-latest
+ ports:
+ - "${UMAMI_WEB_PORT}:3000"
+ environment:
+ IGNORE_IP: "${UMAMI_IGNORE_IP}"
+ DATABASE_URL: "${UMAMI_DB_URL}"
+ DATABASE_TYPE: "${UMAMI_DB_TYPE}"
+ APP_SECRET: "${UMAMI_APP_SECRET}"
+ #depends_on:
+ #db:
+ #condition: service_healthy
+ restart: always
+ #healthcheck:
+ #test: ["CMD-SHELL", "curl http://localhost:3001/api/heartbeat"]
+ #interval: 5s
+ #timeout: 5s
+ # retries: 5
+ umami-db:
+ container_name: 'umami-db'
+ image: postgres:15-alpine
+ environment:
+ POSTGRES_DB: umami
+ POSTGRES_USER: umami
+ POSTGRES_PASSWORD: umami
+ volumes:
+ - "${UMAMI_DB_DATA_PATH}:/var/lib/postgresql/data"
+ ports:
+ - "${UMAMI_DB_PORT}:5432"
+ restart: always
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
+ interval: 5s
+ timeout: 5s
+ retries: 5