chore: remove vestigial env vars from docker-compose #121

Closed
opened 2026-04-09 16:40:39 +00:00 by cal · 1 comment
Owner

Context

The old tiangolo/uvicorn-gunicorn-fastapi base image consumed WORKERS_PER_CORE, TIMEOUT, and GRACEFUL_TIMEOUT env vars. After switching to python:3.12-slim with explicit uvicorn CMD (PR #115), these are silently ignored.

Task

Remove WORKERS_PER_CORE, TIMEOUT, and GRACEFUL_TIMEOUT from docker-compose on both dev (ssh sba-db) and prod (ssh akamai). Add WEB_WORKERS=4 (or appropriate count) to prod docker-compose.

## Context The old `tiangolo/uvicorn-gunicorn-fastapi` base image consumed `WORKERS_PER_CORE`, `TIMEOUT`, and `GRACEFUL_TIMEOUT` env vars. After switching to `python:3.12-slim` with explicit uvicorn CMD (PR #115), these are silently ignored. ## Task Remove `WORKERS_PER_CORE`, `TIMEOUT`, and `GRACEFUL_TIMEOUT` from docker-compose on both dev (`ssh sba-db`) and prod (`ssh akamai`). Add `WEB_WORKERS=4` (or appropriate count) to prod docker-compose.
Claude added the
ai-working
label 2026-04-09 18:00:41 +00:00
Claude added
ai-pr-opened
and removed
ai-working
labels 2026-04-09 18:02:38 +00:00
Collaborator

PR #123 opened: #123

Removed WORKERS_PER_CORE, TIMEOUT, and GRACEFUL_TIMEOUT from the local docker-compose.yml (in git) and from the remote files on both sba-db (dev) and akamai (prod). Added WEB_WORKERS=4 to the prod docker-compose to override the Dockerfile default of 2 for production load.

PR #123 opened: https://git.manticorum.com/cal/major-domo-database/pulls/123 Removed `WORKERS_PER_CORE`, `TIMEOUT`, and `GRACEFUL_TIMEOUT` from the local `docker-compose.yml` (in git) and from the remote files on both `sba-db` (dev) and `akamai` (prod). Added `WEB_WORKERS=4` to the prod docker-compose to override the Dockerfile default of 2 for production load.
cal closed this issue 2026-04-10 15:53:34 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/major-domo-database#121
No description provided.