hubmc-datagw/README.md

32 lines
474 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# HubGW
FastAPI Gateway for HubMC
## Установка
```bash
poetry install
```
## Запуск
```bash
poetry run hubgw
```
## Конфигурация
Создайте файл `.env` с необходимыми переменными окружения:
```env
APP_ENV=dev
APP_HOST=0.0.0.0
APP_PORT=8080
APP_LOG_LEVEL=INFO
DB_DSN=postgresql+asyncpg://user:pass@host:5432/hubgw
DB_POOL_SIZE=10
DB_MAX_OVERFLOW=10
API_KEY=your-api-key
RATE_LIMIT_PER_MIN=100
```