Benoit Chesneau 54d38afddf test: unblock docker fixtures on macOS hosts
- per_app_allocation: move host port from 8001 to 28001. OrbStack reserves
  8001 on macOS for vcom-tunnel which makes 'Bind: port already allocated'
  the default failure mode.
- dirty_ttin_ttou: pin BASE_URL to 127.0.0.1 instead of 'localhost'. macOS
  resolves 'localhost' to ::1 first; Docker Desktop / OrbStack only forward
  host ports on IPv4 so the IPv6 attempt resets and the test fixture treats
  the service as unhealthy.
- dirty_ttin_ttou: add setproctitle to the test image. The TTIN/TTOU tests
  count workers via 'pgrep -f dirty-worker', which only matches once
  gunicorn's util._setproctitle has actually renamed the processes.
2026-05-04 09:47:38 +02:00

14 lines
315 B
YAML

services:
gunicorn:
build:
context: ../../..
dockerfile: tests/docker/per_app_allocation/Dockerfile
ports:
- "28001:8000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
interval: 1s
timeout: 1s
retries: 30
stop_grace_period: 10s