Production settings
This commit is contained in:
parent
6c0327f1a2
commit
d493c5f14c
|
|
@ -8,3 +8,36 @@ GUESTONLINE_TOKEN = ''
|
||||||
LASTABLE_SERVICE = ''
|
LASTABLE_SERVICE = ''
|
||||||
LASTABLE_TOKEN = ''
|
LASTABLE_TOKEN = ''
|
||||||
LASTABLE_PROXY = ''
|
LASTABLE_PROXY = ''
|
||||||
|
|
||||||
|
|
||||||
|
ALLOWED_HOSTS = ['api.gaultmillau.com', '95.213.204.126', '0.0.0.0']
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = ['.next.gaultmillau.com', ]
|
||||||
|
|
||||||
|
SEND_SMS = False
|
||||||
|
SMS_CODE_SHOW = True
|
||||||
|
USE_CELERY = True
|
||||||
|
|
||||||
|
SCHEMA_URI = 'https'
|
||||||
|
DEFAULT_SUBDOMAIN = 'www'
|
||||||
|
SITE_DOMAIN_URI = 'next.gaultmillau.com'
|
||||||
|
DOMAIN_URI = 'next.gaultmillau.com'
|
||||||
|
|
||||||
|
|
||||||
|
# ELASTICSEARCH SETTINGS
|
||||||
|
ELASTICSEARCH_DSL = {
|
||||||
|
'default': {
|
||||||
|
'hosts': 'elasticsearch'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ELASTICSEARCH_INDEX_NAMES = {
|
||||||
|
'search_indexes.documents.news': 'prod_news', # temporarily disabled
|
||||||
|
'search_indexes.documents.establishment': 'prod_establishment',
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# TMP ( TODO remove it later)
|
||||||
|
# Временный хардкод для демонстрации 4 ноября, потом удалить!
|
||||||
|
HARDCODED_INTERNATIONAL_NEWS_IDS = [8, 9, 10, 11, 15, 17]
|
||||||
Loading…
Reference in New Issue
Block a user