mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-26 23:52:05 +00:00
fix: align CI tags and webhook healthcheck
This commit is contained in:
@@ -28,6 +28,7 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
tags: ['v*']
|
||||||
pull_request:
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
# Weekly probe of the live endpoints, so external API changes surface.
|
# Weekly probe of the live endpoints, so external API changes surface.
|
||||||
|
|||||||
+1
-1
@@ -93,7 +93,7 @@ services:
|
|||||||
# reported unhealthy. nginx-proxy shows 502s while webhook mode is down,
|
# reported unhealthy. nginx-proxy shows 502s while webhook mode is down,
|
||||||
# so surface that to the orchestrator.
|
# so surface that to the orchestrator.
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "test '${WEBHOOK:-true}' != true || exec 3<>/dev/tcp/127.0.0.1/${WEBHOOK_PORT:-8443}"]
|
test: ["CMD-SHELL", "test '${WEBHOOK:-true}' != true || bash -c 'exec 3<>/dev/tcp/127.0.0.1/${WEBHOOK_PORT:-8443}'"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user