From 0469c3276375c08d13bb931fc2416fa1d9a176b1 Mon Sep 17 00:00:00 2001 From: DireMunchkin <1665676+DireMunchkin@users.noreply.github.com> Date: Fri, 3 May 2024 17:22:23 +0200 Subject: [PATCH] Fix invidious healthcheck (#3370) * Fix Invidious healthcheck * Bump version --- apps/invidious/config.json | 2 +- apps/invidious/docker-compose.arm64.yml | 5 +---- apps/invidious/docker-compose.yml | 5 +---- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/apps/invidious/config.json b/apps/invidious/config.json index e3aba1c5..996e21f4 100644 --- a/apps/invidious/config.json +++ b/apps/invidious/config.json @@ -6,7 +6,7 @@ "port": 8095, "id": "invidious", "version": "latest", - "tipi_version": 7, + "tipi_version": 8, "categories": ["media", "social"], "description": "Invidious is an open source alternative front-end to YouTube.", "short_desc": "An alternative front-end to YouTube", diff --git a/apps/invidious/docker-compose.arm64.yml b/apps/invidious/docker-compose.arm64.yml index 30d4be40..a2615b74 100644 --- a/apps/invidious/docker-compose.arm64.yml +++ b/apps/invidious/docker-compose.arm64.yml @@ -19,13 +19,10 @@ services: check_tables: true hmac_key: ${INVIDIOUS_HMAC_KEY} healthcheck: - test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1 + test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/trending || exit 1 interval: 30s timeout: 5s retries: 2 - depends_on: - invidious-db: - condition: service_healthy networks: - tipi_main_network labels: diff --git a/apps/invidious/docker-compose.yml b/apps/invidious/docker-compose.yml index 0367563e..a39e29e8 100644 --- a/apps/invidious/docker-compose.yml +++ b/apps/invidious/docker-compose.yml @@ -20,13 +20,10 @@ services: check_tables: true hmac_key: ${INVIDIOUS_HMAC_KEY} healthcheck: - test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1 + test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/trending || exit 1 interval: 30s timeout: 5s retries: 2 - depends_on: - invidious-db: - condition: service_healthy networks: - tipi_main_network labels: