[DOCKER] Automated PR for umami-deployment-docker-health-check_2025-07-24T22-06-45 - #110 #110
@@ -367,12 +367,14 @@ jobs:
|
|||||||
${{ needs.generate-service-list.outputs.svc_deploy_list }}
|
${{ needs.generate-service-list.outputs.svc_deploy_list }}
|
||||||
up-flags: -d --remove-orphans
|
up-flags: -d --remove-orphans
|
||||||
down-flags: --dry-run
|
down-flags: --dry-run
|
||||||
# - name: Check Services' Healthiness
|
- name: Docker Compoose Healthcheck
|
||||||
# uses: thegabriele97/dockercompose-health-action@main
|
uses: jaracogmbh/docker-compose-health-check-action@v1.0.0
|
||||||
# with:
|
with:
|
||||||
# filename: 'docker-compose.yml'
|
max-retries: 5
|
||||||
# timeout: '60'
|
retry-interval: 10
|
||||||
# workdir: '.'
|
compose-file: "docker-compose.yml"
|
||||||
|
skip-exited: "true"
|
||||||
|
skip-no-healthcheck: "true"
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -186,6 +186,8 @@
|
|||||||
| swag | lscr.io/linuxserver/swag:latest |
|
| swag | lscr.io/linuxserver/swag:latest |
|
||||||
| tandoor | vabene1111/recipes |
|
| tandoor | vabene1111/recipes |
|
||||||
| tandoor-pg | postgres:16-alpine |
|
| tandoor-pg | postgres:16-alpine |
|
||||||
|
| umami | ghcr.io/umami-software/umami:postgresql-latest |
|
||||||
|
| umami-pg-db | postgres:15-alpine |
|
||||||
| unmanic | josh5/unmanic:latest |
|
| unmanic | josh5/unmanic:latest |
|
||||||
| uptimekuma | louislam/uptime-kuma:latest |
|
| uptimekuma | louislam/uptime-kuma:latest |
|
||||||
| vault | hashicorp/vault:latest |
|
| vault | hashicorp/vault:latest |
|
||||||
|
|||||||
@@ -5824,6 +5824,56 @@ services:
|
|||||||
target: /var/lib/postgresql/data
|
target: /var/lib/postgresql/data
|
||||||
type: volume
|
type: volume
|
||||||
volume: {}
|
volume: {}
|
||||||
|
umami:
|
||||||
|
container_name: umami
|
||||||
|
depends_on:
|
||||||
|
umami-pg-db:
|
||||||
|
required: true
|
||||||
|
condition: service_healthy
|
||||||
|
environment:
|
||||||
|
DATABASE_URL: postgresql://umami:${UMAMI_PG_DB_PASSWORD}@umami-pg-db:5432/umami
|
||||||
|
DATABASE_TYPE: postgresql
|
||||||
|
APP_SECRET: ${UMAMI_APP_SECRET}
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
image: ghcr.io/umami-software/umami:postgresql-latest
|
||||||
|
init: true
|
||||||
|
labels:
|
||||||
|
homepage.group: Professional Services
|
||||||
|
homepage.name: Umami
|
||||||
|
homepage.href: https://analytics.${MY_TLD}
|
||||||
|
homepage.icon: umami.svg
|
||||||
|
homepage.description: Simple, fast, privacy-focused alternative to Google Analytics
|
||||||
|
swag: enable
|
||||||
|
swag_port: 3000
|
||||||
|
swag_proto: http
|
||||||
|
swag_url: analytics.${MY_TLD}
|
||||||
|
swag.uptime-kuma.enabled: true
|
||||||
|
swag.uptime-kuma.monitor.url: https://analytics.${MY_TLD}
|
||||||
|
swag.uptime-kuma.monitor.interval: 300
|
||||||
|
ports:
|
||||||
|
- 17382:3000
|
||||||
|
restart: unless-stopped
|
||||||
|
umami-pg-db:
|
||||||
|
container_name: umami-pg-db
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: umami
|
||||||
|
POSTGRES_USER: umami
|
||||||
|
POSTGRES_PASSWORD: ${UMAMI_PG_DB_PASSWORD}
|
||||||
|
expose:
|
||||||
|
- 5432
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
image: postgres:15-alpine
|
||||||
|
volumes:
|
||||||
|
- umami-db-data:/var/lib/postgresql/data
|
||||||
|
restart: unless-stopped
|
||||||
unmanic:
|
unmanic:
|
||||||
container_name: unmanic
|
container_name: unmanic
|
||||||
environment:
|
environment:
|
||||||
@@ -6432,6 +6482,8 @@ volumes:
|
|||||||
name: sonarqube-temp
|
name: sonarqube-temp
|
||||||
tandoor-pg:
|
tandoor-pg:
|
||||||
name: tandoor-pg
|
name: tandoor-pg
|
||||||
|
umami-db-data:
|
||||||
|
name: umami-db-data
|
||||||
unmanic-cache:
|
unmanic-cache:
|
||||||
name: unmanic-cache
|
name: unmanic-cache
|
||||||
wallos-db:
|
wallos-db:
|
||||||
|
|||||||
Reference in New Issue
Block a user