feat: expose configurable log level
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user