From e4f7f88db27423dc270e33cdccb75be04381317e Mon Sep 17 00:00:00 2001 From: Phil Weir Date: Wed, 3 Apr 2024 05:42:26 +0100 Subject: [PATCH] feat(api): use arches orm for the api server --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 36948ad..bf7ba78 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -434,7 +434,7 @@ run_api_server() { cd_app_folder if [[ ! -z ${ARCHES_PROJECT} ]]; then - gunicorn ${ARCHES_PROJECT}.asgi:create_app \ + DJANGO_SETTINGS_MODULE=${ARCHES_PROJECT}.settings gunicorn arches_orm.graphql.django_asgi:app \ --config ${ARCHES_ROOT}/docker/gunicorn_config.py \ -k uvicorn.workers.UvicornWorker fi