Commit 32f6923
[MISC] Add worker-metrics service to compose override templates (#1841)
* [MISC] Add worker-metrics service to compose override templates
Add worker-metrics celery service for dashboard metrics processing to both compose override files. Service builds from backend Dockerfile with reduced autoscale (2,1) for lightweight local development and includes file watch configuration for backend/ and unstract/ directories for hot-reload during development.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [MISC] Fix worker-metrics override: use command override and sync+restart
- Replace environment var with explicit command override since Compose
resolves ${WORKER_METRICS_AUTOSCALE:-4,1} at compose-time from host env
- Change sync to sync+restart so Celery picks up code changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0d93ee2 commit 32f6923
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
322 | 340 | | |
323 | 341 | | |
324 | 342 | | |
| |||
0 commit comments