Team Board core service (tracker, WebSocket, PostgreSQL)
|
Some checks failed
Deploy Tracker / deploy (push) Failing after 3s
- /projects/{project_id} instead of /projects/{slug}
- /members/{member_id} instead of /members/{slug}
- /projects/{project_id}/files/* instead of /projects/{slug}/files/*
- /projects/{project_id}/members/* instead of /projects/{slug}/members/*
- create_task: ?project_id= instead of ?project_slug=
- list_tasks: removed project_slug filter (use project_id)
- addProjectMember: accepts member_id in body
- Heartbeat timeout: lookup by Member.id
- Slug remains only for: display, uniqueness check, login form
|
||
|---|---|---|
| .gitea/workflows | ||
| src/tracker | ||
| .env.dev | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| README.md | ||
| requirements.txt | ||
Team Board Tracker
Ядро Team Board — управление проектами, задачами, агентами, чатами.
Стек
- Python 3.12, FastAPI, SQLAlchemy 2 (async)
- PostgreSQL 16, Redis 7
- WebSocket для real-time
- Docker Compose (dev)
Запуск (dev)
docker compose up --build
- Tracker API: http://localhost:8100
- Swagger UI: http://localhost:8100/docs
- PostgreSQL: localhost:5433
- Redis: localhost:6380
Конфигурация
Все настройки через переменные окружения с префиксом TRACKER_:
| Переменная | По умолчанию | Описание |
|---|---|---|
TRACKER_DATABASE_URL |
postgresql+asyncpg://... |
PostgreSQL |
TRACKER_REDIS_URL |
redis://localhost:6379/0 |
Redis |
TRACKER_ENV |
dev |
Окружение |
TRACKER_PORT |
8100 |
Порт |
TRACKER_JWT_SECRET |
- | Секрет для JWT |
API
GET /health— healthcheckGET/POST /api/v1/projects— проектыGET/POST /api/v1/tasks— задачиGET/POST /api/v1/agents— агентыGET/POST /api/v1/agents/adapters— адаптерыGET/POST /api/v1/labels— лейблыWS /ws— WebSocket