fix: switch to dev settings for Docker services and improve env config
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Failing after 1m31s
CI/CD Pipeline / Run Tests (push) Failing after 1m46s
CI/CD Pipeline / Build & Push Images (push) Successful in 1m57s
CI/CD Pipeline / Deploy (prod) (push) Has been skipped
CI/CD Pipeline / Deploy (dev) (push) Successful in 42s

This commit is contained in:
2026-02-10 21:31:03 +01:00
parent 106ea42ade
commit 10fc1d96eb

View File

@@ -18,14 +18,14 @@ DATABASES = {
"NAME": "mostovik",
"USER": "postgres",
"PASSWORD": "postgres",
"HOST": "127.0.0.1",
"HOST": "10.10.0.112",
"PORT": "5432",
}
}
# Celery
CELERY_BROKER_URL = "redis://redis:6379/0"
CELERY_RESULT_BACKEND = "redis://redis:6379/0"
CELERY_BROKER_URL = "redis://10.10.0.112:6379/0"
CELERY_RESULT_BACKEND = "redis://10.10.0.112:6379/0"
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_SERIALIZER = "json"
@@ -35,7 +35,7 @@ CELERY_TIMEZONE = "Europe/Moscow"
CACHES = {
"default": {
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://redis:6379/1",
"LOCATION": "redis://10.10.0.112:6379/1",
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
},