Service to search recommended sku by other sku
Name | Default | Description |
---|---|---|
APP_PORT | "" | Application port |
LISTEN_HOST | "0.0.0.0" | Container host |
WORKERS | "5" | Gunicorn workers |
THREADS | "2" | Gunicorn threads |
- Clone repository.
- Add csv file with 3 columns near application.
- Set environment variables in
.env
file. - Run command
docker-compose up -d --build
.
- Run command
docker logs <container_id>
Request:
GET localhost:port/
payload:
{
"sku": str,
"rec_min": Optional[float]
}
Response:
{
"sku_found": int,
"result": [str, str, ...]
}