diff --git a/src/config/settings/dev.py b/src/config/settings/dev.py index e66844e..cd06630 100644 --- a/src/config/settings/dev.py +++ b/src/config/settings/dev.py @@ -1,6 +1,5 @@ """ Development settings - закрытый контур, без переменных окружения. -Docker на macOS - используется host.docker.internal. """ from .base import * @@ -25,8 +24,8 @@ DATABASES = { } # Celery -CELERY_BROKER_URL = "redis://host.docker.internal:6379/0" -CELERY_RESULT_BACKEND = "redis://host.docker.internal:6379/0" +CELERY_BROKER_URL = "redis://redis:6379/0" +CELERY_RESULT_BACKEND = "redis://redis:6379/0" CELERY_ACCEPT_CONTENT = ["json"] CELERY_TASK_SERIALIZER = "json" CELERY_RESULT_SERIALIZER = "json" @@ -36,7 +35,7 @@ CELERY_TIMEZONE = "Europe/Moscow" CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", - "LOCATION": "redis://host.docker.internal:6379/1", + "LOCATION": "redis://redis:6379/1", "OPTIONS": { "CLIENT_CLASS": "django_redis.client.DefaultClient", },