fix: docker build

This commit is contained in:
2026-03-23 12:17:50 +01:00
parent 421047aec2
commit d7df0d0e50
12 changed files with 170 additions and 125 deletions
+31 -1
View File
@@ -103,7 +103,10 @@ AUTH_PASSWORD_VALIDATORS = [
LANGUAGE_CODE = 'es'
LANGUAGES = (('en', _('Inglés')), ('es', _('Castellano')))
LANGUAGES = (
('en', _('Inglés')),
('es', _('Castellano')),
)
TIME_ZONE = 'Europe/Madrid'
@@ -143,3 +146,30 @@ EMAIL_USE_SSL = False
CELERY_BROKER_URL = env.str('CELERY_BROKER_URL', default='memory://localhost:8000//')
CELERY_TIME_ZONE = TIME_ZONE
CELERY_ALWAYS_EAGER = DEBUG
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'level': 'INFO',
'class': 'logging.StreamHandler',
},
'file': {
'class': 'logging.FileHandler',
'filename': 'error.log',
'level': 'ERROR',
},
},
'loggers': {
'': {
'handlers': ['console'],
'level': 'INFO',
},
'error': {
'handlers': ['file'],
'level': 'ERROR',
'propagate': False
},
},
}