github.com/ismailbayram/bigpicture@v0.0.0-20231225173155-e4b21f5efcff/internal/browser/pyproject/washer_project/settings_gitlab_ci.py (about)

     1  from washer_project.settings import *
     2  
     3  ES_HOST = {"host": "elasticsearch-unit", "port": 9200}
     4  ES_STORE_INDEX = 'test_stores'
     5  ES_RESERVATION_INDEX = 'test_reservations'
     6  
     7  DATABASES = {
     8      'default': {
     9          'ENGINE': 'django.db.backends.postgresql',
    10          'NAME': 'test',
    11          'HOST': 'postgres',
    12          'USER': 'test',
    13          'PASSWORD': 'test',
    14          'PORT': 5432,
    15      }
    16  }
    17  
    18  
    19  BROKER_URL = 'redis://redis:6379'
    20  CELERY_RESULT_BACKEND = 'redis://redis:6379'
    21  CACHES = {
    22      "default": {
    23          "BACKEND": "django_redis.cache.RedisCache",
    24          "LOCATION": "redis://redis:6379/1",
    25          "TIMEOUT": CACHE_TTL, # 5 minutes
    26          "OPTIONS": {
    27              "CLIENT_CLASS": "django_redis.client.DefaultClient"
    28          },
    29          "KEY_PREFIX": "_aracyika_"
    30      }
    31  }