add bcrypt password hashing and clean up code #1

Open
julia wants to merge 5 commits from julia/self-service-api:main into main
Showing only changes of commit 1786881376 - Show all commits

View File

@ -7,4 +7,4 @@ RUN apk add --no-cache build-base openldap-dev python2-dev python3-dev
RUN pip install --no-cache-dir -r requirements.txt
COPY ./src ./src
CMD ["/usr/local/bin/uvicorn", "src.main:app"]
CMD ["/usr/local/bin/uvicorn", "--host", "'::'", "--port", "8080", "src.main:app"]
Review

Ok, so after a lot of testing, it appears that for some reason, uvicorn does not accept :: properly, but starts up anyways (and just does not bind).

Binding to 0.0.0.0 works however, so i suggest using that for now.

Ok, so after a lot of testing, it appears that for some reason, `uvicorn` does not accept `::` properly, but starts up anyways (and just does not bind). Binding to `0.0.0.0` works however, so i suggest using that for now.