Upload answers 202 after staging, a queued job in PostgreSQL and a broker confirm; a separate worker publishes the original and a thumbnail with bounded retries. Adds the job and variant tables, the broker service, the worker S3 user, cleanup and reconcile support for staging and variants, the failure stand with broker and worker, bench and driver updates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
947 B
Bash
21 lines
947 B
Bash
# Подстановки compose для стенда make bench вместо .env рабочего стенда
|
|
# (docker compose --env-file bench/bench.env). Только несекретные имена и
|
|
# порты внутри сети стенда: пароли генерирует bench/run.py на каждый
|
|
# прогон, лимиты и срок сессии приходят из Profile (BENCH_*).
|
|
POSTGRES_USER=bench
|
|
POSTGRES_DB=bench
|
|
POSTGRES_HOST=postgres
|
|
POSTGRES_PORT=5432
|
|
VALKEY_HOST=valkey
|
|
VALKEY_PORT=6379
|
|
# S3 запускает только профиль uploads (лаба 4), профили лаб 2–3 — нет;
|
|
# секреты S3 генерирует run.py
|
|
S3_HOST=s3
|
|
S3_PORT=8333
|
|
S3__BUCKET=bench
|
|
# брокер запускает только профиль uploads (лаба 5); пароль генерирует run.py
|
|
RABBITMQ_HOST=rabbitmq
|
|
RABBITMQ_PORT=5672
|
|
RABBITMQ_DEFAULT_USER=bench
|
|
APP__PORT=8080
|