| 
				
					
						 
				
	
				Build and Push Docker Image / build-and-push (push) Failing after 37s
				
					Details
				
			 
		
	 | 
			||
|---|---|---|
| .gitea/workflows | ||
| src/hubgw | ||
| tests | ||
| .dockerignore | ||
| .gitignore | ||
| API_EXAMPLES.md | ||
| DEPLOYMENT.md | ||
| Dockerfile | ||
| README.md | ||
| db.ddl | ||
| docker-compose.yml | ||
| poetry.lock | ||
| pyproject.toml | ||
		
			
				
				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