diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eaa0c35..8e91350 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -108,7 +108,8 @@ test: #- cat ${EXAMPLE_CONFIG} > /etc/fastapi-dls/env # start service in background - cd /usr/share/fastapi-dls/app - - uvicorn --host 127.0.0.1 --port 443 + - 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