implement https & healtcheck endpoint

This commit is contained in:
Michi 2025-04-16 11:15:49 +02:00
parent d629882c32
commit a7594df5cf
3 changed files with 11 additions and 4 deletions

View file

@ -23,6 +23,8 @@ COPY webservice.py .
COPY crypto.py .
COPY dbfunctions.py .
COPY models.py .
COPY certs/key.pem .
COPY certs/cert.pem .
# Start app
CMD ["uvicorn", "webservice:app", "--host", "0.0.0.0", "--port", "8080"]
CMD ["uvicorn", "webservice:app", "--host", "0.0.0.0", "--port", "8080", "--ssl-keyfile=key.pem", "--ssl-certfile=cert.pem"]