mirror of
https://github.com/michivonah/bbzw-horizon.git
synced 2025-12-22 17:16:27 +01:00
implement https & healtcheck endpoint
This commit is contained in:
parent
d629882c32
commit
a7594df5cf
3 changed files with 11 additions and 4 deletions
|
|
@ -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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue