# coverage run --source='.' volta/manage.py test <app> --settings=settings.unittest
from .base import *

ENV_TYPE = 'dev'

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'luna',
        'USER': 'loaduser',
        'PASSWORD': 'loadtest',
        'HOST': 'localhost',
        'PORT': '5432',
        # 'OPTIONS': {
        #   'sslmode': 'require',
        # },
        'CONN_MAX_AGE': 49,
    },
}

CLICKHOUSE_HOST = 'man-wnidz9curfhuldu2.db.yandex.net'
CLICKHOUSE_PORT = '8443'
CLICKHOUSE_PASS = os.environ.get('CLICKHOUSE_PASS')
CLICKHOUSE_USER = 'lunapark'
CLICKHOUSE_NAME = 'luna_dev'
