Go to file
itqop 90ac8c6b7e fix: edit config.py 2025-10-15 22:50:21 +03:00
src/hubgw fix: edit config.py 2025-10-15 22:50:21 +03:00
tests first commit 2025-10-11 01:14:16 +03:00
.gitignore first commit 2025-10-11 01:14:16 +03:00
API_EXAMPLES.md first commit 2025-10-11 01:14:16 +03:00
DEPLOYMENT.md first commit 2025-10-11 01:14:16 +03:00
README.md first commit 2025-10-11 01:14:16 +03:00
pyproject.toml fix: fix config 2025-10-15 22:33:29 +03:00

README.md

HubGW

FastAPI Gateway for HubMC

Установка

poetry install

Запуск

poetry run hubgw

Конфигурация

Создайте файл .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