Updated AE_API_GUNICORN_WORKERS default from 2 → 4 based on stress
testing (nearly 2x throughput improvement confirmed). Added detailed
comments to Gunicorn, DB pool, and connection tuning settings explaining
what each parameter does, how they interact, and capacity planning math.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Documents AE_DB_POOL_SIZE and AE_DB_POOL_MAX_OVERFLOW in .env.default
with per-replica connection math comment for capacity planning.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- deploy.sh: SSH-triggered deploy for prod and test environments on
srv-nyx (linode.oneskyit.com). Pulls repos, builds ae_app container
with correct BUILD_MODE, restarts ae_api.
- Makefile: rename build-ui → build-docker-dev/test/prod to match new
naming convention; add deploy-remote-test and deploy-remote-prod targets
- .env.default: AE_APP_BUILD_MODE staging → dev (from prior session)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The Docker env project had no committed .env template — new contributors
had to reverse-engineer the required variables from the compose files.
Added .env.default with all required variables, secrets replaced with XXXX,
and comments explaining each section. Notable: AE_API_GUNICORN_TIMEOUT is
documented as 900 (needed for long ffmpeg video jobs like clip_video).
Updated .gitignore to whitelist .env.default via !.env.default.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>