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