config.prod.js 521 B

123456789101112131415161718192021222324252627282930313233
  1. 'use strict';
  2. module.exports = () => {
  3. const config = exports = {};
  4. config.logger = {
  5. // level: 'DEBUG',
  6. // consoleLevel: 'DEBUG',
  7. };
  8. // redis config
  9. config.redis = {
  10. client: {
  11. port: 6379, // Redis port
  12. host: '127.0.0.1', // Redis host
  13. password: 123456,
  14. db: 0,
  15. },
  16. };
  17. config.amqp = {
  18. client: {
  19. hostname: '127.0.0.1',
  20. username: 'visit',
  21. password: 'visit',
  22. vhost: 'visit',
  23. },
  24. app: true,
  25. agent: true,
  26. };
  27. return config;
  28. };