Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ EXPOSE 8000
# Command to run the application using Uvicorn
# The command format is: uvicorn [module:app_object] --host [ip] --port [port]
# We use the standard uvicorn worker configuration
CMD ["python", "run.py"]
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ docker compose build
docker compose up -d
```

The API will be available at `http://localhost:8000`.
The API will be available at `http://localhost:8000`. The service runs with `uvicorn src.main:app --host 0.0.0.0 --port 8000`.

Health check:
```bash
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
- DATABASE_URL=postgresql://veritix:veritix@db:5432/veritix
ports:
- "8000:8000"
command: uvicorn src.main:app --host 0.0.0.0 --port 8000
depends_on:
- db

Expand Down
8 changes: 7 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
fastapi==0.115.0
uvicorn[standard]==0.30.6
numpy==2.1.3
numpy==1.26.4
scikit-learn==1.5.2
pydantic==2.8.2
httpx==0.28.1
pytest==8.4.2
pytest-cov

pytest-cov==5.0.0

requests==2.31.0
qrcode==7.4.2
Pillow==10.4.0
Expand All @@ -19,3 +22,6 @@ textblob==0.17.1
nltk==3.8.1

reportlab==4.0.7
qrcode==7.4.2


1 change: 0 additions & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from typing import Dict, Any

from typing import Tuple
import json
import os
import hmac
import hashlib
Expand Down
Loading