Hermes: drop the :8090 healthcheck (messaging gateway has no HTTP endpoint)
'hermes gateway run' starts the messaging gateway (Signal SSE), not the :8090 web dashboard, so probing 8090 always reported unhealthy. The container's running state plus the daemon's SSE connection are the real health signal.
This commit is contained in:
1 parent
5e71b0584f
commit
b5211845da
1 file changed
+3
-5
@@ -84,11 +84,9 @@ services:
|
|||||||
- "8090:8090"
|
- "8090:8090"
|
||||||
volumes:
|
volumes:
|
||||||
- /home/dank/hermes-data:/data
|
- /home/dank/hermes-data:/data
|
||||||
healthcheck:
|
# No healthcheck: 'hermes gateway run' starts the messaging gateway (Signal
|
||||||
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8090/')"]
|
# SSE), not the :8090 web dashboard, so there is no HTTP endpoint to probe.
|
||||||
interval: 30s
|
# The container's running state + the daemon's SSE connection are the signal.
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
|
|
||||||
# --- Git hosting (migrated from /opt/gitea) ------------------------------
|
# --- Git hosting (migrated from /opt/gitea) ------------------------------
|
||||||
postgres:
|
postgres:
|
||||||
|
|||||||
Reference in new issue
Block a user