"""Stage settings."""
from .base import *
from .amazon_s3 import *

ALLOWED_HOSTS = ['gm-stage.id-east.ru', '95.213.204.126']

SEND_SMS = False
SMS_CODE_SHOW = True
USE_CELERY = True

SCHEMA_URI = 'https'
DEFAULT_SUBDOMAIN = 'www'
SITE_DOMAIN_URI = 'id-east.ru'
DOMAIN_URI = 'gm-stage.id-east.ru'

# ELASTICSEARCH SETTINGS
ELASTICSEARCH_DSL = {
    'default': {
        'hosts': 'localhost:9200'
    }
}

ELASTICSEARCH_INDEX_NAMES = {
    # 'search_indexes.documents.news': 'stage_news', #temporarily disabled
    'search_indexes.documents.establishment': 'stage_establishment',
    'search_indexes.documents.tag_category': 'stage_tag_category',
}

COOKIE_DOMAIN = '.id-east.ru'
