1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +00:00

🔧 Configure the proxy.dbm directory

This commit is contained in:
Steffo 2021-10-18 22:01:51 +02:00
parent 1a2340e4c0
commit f2792c94e5

View file

@ -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"]