Files
g2s-aggregator/spec/tasks/009_add_local_infra_stack.md
T
Раис Юсупалиев df2f132c05 009 add docker compose
2026-03-08 15:18:46 +03:00

1.7 KiB
Raw Blame History

id, title, status, created
id title status created
009 Add local infrastructure stack DONE 2026-03-07

Context

Overview задаёт локальные infrastructure components app, redis и signoz, необходимые для runtime и observability.

Goal

Добавить Docker Compose infrastructure definitions для local development, включая application service, Redis cache и SigNoz observability backend.

Constraints

  • Scope задачи: только infrastructure wiring.
  • Не переносить business logic в infrastructure scripts.
  • Имена services должны соответствовать overview: app, redis, signoz.
  • Не изменять файлы в spec/.

Acceptance criteria

  • Compose file определяет services app, redis, signoz.
  • Service app содержит environment wiring для cache и observability endpoints.
  • Service redis достижим из app во внутренней сети.
  • Service signoz достижим для telemetry export при локальном запуске.

Definition of Done

  • Добавлен compose definition с обязательными services.
  • Задокументированы environment variables для локальной интеграции.
  • docker compose config проходит валидацию.
  • Добавлены базовые startup instructions.

Tests

  • Добавить/обновить infrastructure checks для валидации compose syntax.
  • Добавить smoke sequence команд для проверки локального запуска.

Commands

  • docker compose config
  • docker compose up -d redis signoz
  • docker compose ps