config.yaml 1.31 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
dev:
  MySQL:
    tamp_user_db: tamp_user
    tamp_pay_db: tamp_pay
    host: 47.101.189.151
    port: 31931
    user: root
    password: mysql
  redis:
    host: localhost
    port: 6379
    db: 0
  log:
    filename: /logs/tamp_course_order.log
    filemode: a
    format: "%(asctime)s %(name)s %(levelname)s %(message)s"
    datefmt: "%Y-%m-%d  %H:%M:%S %a"
18
  token_auth_url:
pengxiong@wealthgrow.cn's avatar
pengxiong@wealthgrow.cn committed
19
    https://devtamper.tanpuyun.com/fatools/token/auth
20 21 22 23 24 25 26 27
test:
  MySQL:
    tamp_user_db: tamp_user
    tamp_pay_db: tamp_pay
    host: 118.190.63.109
    port: 3306
    user: root
    password: '@imeng123'
28 29 30 31 32 33 34 35 36 37 38
  redis:
    host: localhost
    port: 6379
    db: 0
  log:
    filename: /logs/tamp_course_order.log
    filemode: a
    format: "%(asctime)s %(name)s %(levelname)s %(message)s"
    datefmt: "%Y-%m-%d  %H:%M:%S %a"
  token_auth_url:
    https://testtamper.tanpuyun.com/fatools/token/auth
39 40 41 42 43 44 45 46
prod:
  MySQL:
    tamp_user_db: tamp_user
    tamp_pay_db: tamp_pay
    host: pc-uf666afrpfg8yj768.rwlb.rds.aliyuncs.com
    port: 3306
    user: tamp_pay
    password: '@imeng123'
47 48 49 50 51 52 53 54 55 56 57 58 59
  redis:
    host: localhost
    port: 6379
    db: 0
  log:
    filename: /logs/tamp_course_order.log
    filemode: a
    format: "%(asctime)s %(name)s %(levelname)s %(message)s"
    datefmt: "%Y-%m-%d  %H:%M:%S %a"
  token_auth_url:
    https://tamper.tanpuyun.com/fatools/token/auth