From f2792c94e55552bc140a18a3a6ae5f09636636ab Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 18 Oct 2021 22:01:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Configure=20the=20proxy.dbm=20di?= =?UTF-8?q?rectory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/Dockerfile b/backend/Dockerfile index e770b69..252018e 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -27,5 +27,8 @@ ENV PYTHONUNBUFFERED=1 # I have no idea why this is needed ENV DJANGO_SETTINGS_MODULE="sophon.settings" +# Store the DBM file in a nice place +ENV APACHE_PROXY_EXPRESS_DBM="/run/sophon/proxy/proxy.dbm" + # Start the uvicorn server ENTRYPOINT ["poetry", "run", "gunicorn", "sophon.asgi:application", "-k", "uvicorn.workers.UvicornWorker"]