整理线上配置

main
RogerWork 9 months ago
parent e8b87cce0d
commit 86eb9da215
  1. 9
      dingxin_toolbox_drf/settings.py
  2. BIN
      reqirement.txt

@ -19,8 +19,10 @@ BASE_DIR = Path(__file__).resolve().parent.parent
print(BASE_DIR)
# 服务器IP
SERVER_IP = '172.16.1.63'
REDIS_IP = '172.16.1.63'
# SERVER_IP = '172.16.1.63'
# REDIS_IP = '172.16.1.63'
SERVER_IP = '172.16.1.222'
REDIS_IP = '172.16.1.222'
# SERVER_IP = ''
# Quick-start development settings - unsuitable for production
@ -95,7 +97,8 @@ ASGI_APPLICATION = 'dingxin_toolbox_drf.routing.application'
DATABASES = {
"default": {
"ENGINE": "django.db.backends.mysql",
"HOST": "home.rogersun.cn",
# "HOST": "home.rogersun.cn",
"HOST": SERVER_IP,
"PORT": 3306,
"USER": "dingxin",
"PASSWORD": "cine123456",

Binary file not shown.
Loading…
Cancel
Save