Fix invidious healthcheck (#3370)

* Fix Invidious healthcheck

* Bump version
This commit is contained in:
DireMunchkin 2024-05-03 17:22:23 +02:00 committed by GitHub
parent a8abcdc454
commit 0469c32763
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 9 deletions

View File

@ -6,7 +6,7 @@
"port": 8095, "port": 8095,
"id": "invidious", "id": "invidious",
"version": "latest", "version": "latest",
"tipi_version": 7, "tipi_version": 8,
"categories": ["media", "social"], "categories": ["media", "social"],
"description": "Invidious is an open source alternative front-end to YouTube.", "description": "Invidious is an open source alternative front-end to YouTube.",
"short_desc": "An alternative front-end to YouTube", "short_desc": "An alternative front-end to YouTube",

View File

@ -19,13 +19,10 @@ services:
check_tables: true check_tables: true
hmac_key: ${INVIDIOUS_HMAC_KEY} hmac_key: ${INVIDIOUS_HMAC_KEY}
healthcheck: 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 interval: 30s
timeout: 5s timeout: 5s
retries: 2 retries: 2
depends_on:
invidious-db:
condition: service_healthy
networks: networks:
- tipi_main_network - tipi_main_network
labels: labels:

View File

@ -20,13 +20,10 @@ services:
check_tables: true check_tables: true
hmac_key: ${INVIDIOUS_HMAC_KEY} hmac_key: ${INVIDIOUS_HMAC_KEY}
healthcheck: 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 interval: 30s
timeout: 5s timeout: 5s
retries: 2 retries: 2
depends_on:
invidious-db:
condition: service_healthy
networks: networks:
- tipi_main_network - tipi_main_network
labels: labels: