production.js 700 B

1234567891011121314151617181920
  1. module.exports = {
  2. env: process.env.ENV = 'production',
  3. jwt: {
  4. secret: '7cab0c1d2bb14fb7fa8fd33a8d9731bf'
  5. },
  6. mongo: {
  7. default: {
  8. dsn: 'mongodb://dds-uf6ba204086ef6b41655-pub.mongodb.rds.aliyuncs.com:3717/mini_game?authSource=admin&replicaSet=mgset-36593873&connectTimeoutMS=5000&maxPoolSize=256&readPreference=primary&authMechanism=SCRAM-SHA-1&serverSelectionTimeoutMS=5000&appname=MongoDB%20Compass&ssl=false',
  9. options: { authSource: 'admin', auth: { user: 'admin', password: 'YyZq6699Pi?' } }
  10. }
  11. },
  12. redis: {
  13. default: {
  14. host: 'r-uf62jbeox82llguetkpd.redis.rds.aliyuncs.com',
  15. port: 35673,
  16. password: 'SuNovel_$#567Kan',
  17. db: 0
  18. }
  19. }
  20. }