diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e91350..019a675 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -108,11 +108,11 @@ test: #- cat ${EXAMPLE_CONFIG} > /etc/fastapi-dls/env # start service in background - cd /usr/share/fastapi-dls/app - - uvicorn main:app + - uvicorn main:app --host 127.0.0.1 --port 443 --app-dir /usr/share/fastapi-dls/app --ssl-keyfile /etc/fastapi-dls/webserver.key - --ssl-certfile /opt/fastapi-dls/webserver.crt + --ssl-certfile /etc/fastapi-dls/webserver.crt --proxy-headers & - FASTAPI_DLS_PID=$! - echo "Started service with pid $FASTAPI_DLS_PID"