14 Commits

Author SHA1 Message Date
harmsolo13
d4dbe8d0fe fix: replace celery container's inherited curl-based healthcheck
The celery container builds from flowsint-api/Dockerfile which carries
a HEALTHCHECK directive that does `curl -f http://localhost:5001/health`.
The API container has an HTTP server on 5001 — celery doesn't, it's a
worker. So the inherited healthcheck always fails and `docker ps` shows
celery as (unhealthy) even when the worker is actively processing jobs.

This is cosmetic noise today but bites in two real ways: (1) restart
policies that key off health won't re-up celery on a real failure
because Docker can't tell good unhealthy from bad unhealthy, (2) any
service that adds `depends_on: celery: condition: service_healthy`
will refuse to start.

Fix: add a service-level healthcheck on celery in both compose files
(prod and dev) that uses celery's own `inspect ping` primitive
against the worker's broker. Compose-level healthcheck overrides the
Dockerfile-level one, so no Dockerfile change needed.

Smoke-tested locally: container goes from (unhealthy) to (healthy)
within ~30s of restart with no other changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 18:13:26 +09:30
dextmorgn
6852ee3213 fix: missing AUTH_SECRET 2026-04-06 10:02:58 +02:00
dextmorgn
a178ef1bcd feat(chore): update deploy components 2026-01-25 20:45:22 +01:00
dextmorgn
2f5443b074 feat: update deploy 2026-01-25 11:11:58 +01:00
dextmorgn
b590ab0843 feat: add celery threads 2026-01-05 22:27:28 +01:00
dextmorgn
2123ea5b8d feat: complete refactor 2025-11-27 17:16:41 +01:00
dextmorgn
7b69167ff1 fix(app): revert commit 2025-11-22 15:42:40 +01:00
dextmorgn
d57aac64c0 feat: VITE_API_URL instead of localhost 2025-11-22 15:10:35 +01:00
dextmorgn
8019f6842f fix: running alembic migration twice 2025-11-14 17:29:02 +01:00
dextmorgn
e55d78e9fb feat(app): wait for api to finish before launching front app 2025-11-14 16:53:25 +01:00
dextmorgn
7ab921f0da fix(core): keys are now only fetched from vault 2025-11-01 12:53:00 +01:00
dextmorgn
50ef5b7dc8 feat: allow usage of docker subfinder tool 2025-10-31 19:06:55 +01:00
dextmorgn
cdf754ece6 refactor: use only .env api url value 2025-10-31 14:14:01 +01:00
dextmorgn
d0417e0056 feat: upgrade deploy to use docker only 2025-10-27 11:24:58 +01:00