DATABASES = {  # 设置为线上的数据库地址，用户名，密码
    'default': {
        'ENGINE': 'django.db.backends.mysql',  # 设置为mysql数据库
        'NAME': 'gm_face',
        'USER': 'work',
        'PASSWORD': 'Gengmei1',
        'HOST': 'rm-2ze0v6uua2hl9he8e.mysql.rds.aliyuncs.com',
        'PORT': '3307',
        '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/18', 'redis://192.168.168.142:6379/22']   # 线上redis
REDIS = {'host': '192.168.168.142', 'port': 6379, 'db': 23, }  # 线上redis
