[WEB - 908] chore: remove user dependency in dockerfile (#4124)
* chore: remove user dependency from api container * dev: remove user assignment from dockerfile * dev: add logging configuration
This commit is contained in:
parent
2c8c139c62
commit
4f138ac3f9
6 changed files with 15 additions and 49 deletions
|
|
@ -6,7 +6,7 @@ from .common import * # noqa
|
|||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = int(os.environ.get("DEBUG", 0)) == 1
|
||||
DEBUG = True
|
||||
|
||||
# Honor the 'X-Forwarded-Proto' header for request.is_secure()
|
||||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ LOG_DIR = os.path.join(BASE_DIR, "logs") # noqa
|
|||
if not os.path.exists(LOG_DIR):
|
||||
os.makedirs(LOG_DIR)
|
||||
|
||||
|
||||
# Logging configuration
|
||||
LOGGING = {
|
||||
"version": 1,
|
||||
"disable_existing_loggers": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue