feat: expose configurable log level
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s

This commit is contained in:
2026-04-21 10:37:30 +02:00
parent aa705be81a
commit f73e6d607b
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
SECRET_KEY=replace-me
DEBUG=false
LOG_LEVEL=INFO
LOG_LEVEL=info
ALLOWED_HOSTS=example.com,www.example.com
CSRF_TRUSTED_ORIGINS=https://example.com,https://www.example.com
USE_X_FORWARDED_HOST=true

View File

@@ -11,7 +11,8 @@ RUN python manage.py collectstatic --noinput
ENV HOST=0.0.0.0
ENV PORT=8000
ENV LOG_LEVEL=info
EXPOSE ${PORT}
CMD uvicorn santehray.asgi:application --host ${HOST} --port ${PORT}
CMD uvicorn santehray.asgi:application --host ${HOST} --port ${PORT} --log-level ${LOG_LEVEL}