# -*- coding:utf-8 -*-
# artemis local settings template
CACHES = {
    'default': {
        'BACKEND': 'django_redis.cache.RedisCache',
        'LOCATION': 'redis://local-redis-ha:3',
        'TIMEOUT': 86400,  # 3600 x 24
    },
}

BROKER_URL = 'redis://local-redis-ha/8'

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',  # 设置为mysql数据库
        'NAME': 'artemis_hotfix2',  # zhengxing_test zhengxing_dev4hera  zhengxing_dev
        'USER': 'work',
        'PASSWORD': 'Gengmei1',
        'HOST': 'local-mysql',
        'PORT': '3306',
        'OPTIONS': {
            "init_command": "SET foreign_key_checks = 0;",
            "charset": "utf8mb4",  # 为了支持emoji表情
        },
    },
}
DEBUG = True
SENTRY_CELERY_ENDPOINT = ''
