DATABASES = {  # 设置为线上的数据库地址，用户名，密码
    'default': {
        'ENGINE': 'django.db.backends.mysql',  # 设置为mysql数据库
        'NAME': 'gm_face_test',
        'USER': 'work',
        'PASSWORD': 'Gengmei1',
        'HOST': 'local-mysql',
        'PORT': '3306',
        'OPTIONS': {
            "init_command": "SET foreign_key_checks = 0;",
            "charset": "utf8mb4",  # 为了支持emoji表情
        },
    },
}

FACEPP_API_KEY = 'VFZ80NNdS-zIqnlFJClzlM8iq4ZVHqa3'
FACEPP_API_SECRET = 'BxIeNVw26xas1KbcWGzL8zlF1kMy0gdj'

BROKER_URL = ['redis://192.168.168.142:6379/8', 'redis://192.168.168.142:6379/2']   # 线上redis
REDIS = {'host': '192.168.168.142', 'port': 6379, 'db': 3, }  # 线上redis
