application.properties 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #ָ���˿�
  2. server.port=8887
  3. ############���duboo����###########
  4. # Ӧ�ó�������֣������Լ����塣��Ҫ��Ϊ����ע��������һ����ʶ������ע����������һ��Ӧ�����ṩ����
  5. spring.application.name=taotao-sso-service
  6. #ע�����ĵ�ַ 2181�˿���Ҫ�������ߺ�ע������ͨѶ�Ķ˿�
  7. dubbo.registry.address=zookeeper://192.168.37.161:2181
  8. #�˿ںſ���д��address�У�Ҳ���Ե���д��ʵ���Ǵ�address�л�ȡ��port��null���������õ�port������null
  9. #dubbo.registry.port=2181
  10. #ָ��dubboʹ�õ�Э�顢�˿�
  11. # �����ߺ�������֮��Ի���Э��Ͷ˿ڣ��ñ�����web���õ�Э����httpЭ�飬�˿�Ĭ����80�˿�
  12. dubbo.protocol.name=dubbo
  13. dubbo.protocol.port=20882
  14. #ָ��ע�ᵽzk�ϳ�ʱʱ�䣬ms 10����û��ע�����ע�����ģ��ͻ��׳���ʱ���쳣
  15. dubbo.registry.timeout=120000
  16. dubbo.scan.base-packages=com.itheima
  17. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  18. spring.datasource.url=jdbc:mysql://localhost:3306/taotao
  19. spring.datasource.username=root
  20. spring.datasource.password=333
  21. ################################���� redis
  22. # Redis���ݿ�������Ĭ��Ϊ0��
  23. #spring.redis.database=0
  24. # Redis��������ַ
  25. spring.redis.host=120.78.52.202
  26. # Redis���������Ӷ˿�
  27. spring.redis.port=6378
  28. # Redis�������������루Ĭ��Ϊ�գ�
  29. spring.redis.password=
  30. ## ���ӳ������������ʹ�ø�ֵ��ʾû�����ƣ�
  31. #spring.redis.jedis.pool.max-active=20
  32. ## ���ӳ���������ȴ�ʱ�䣨ʹ�ø�ֵ��ʾû�����ƣ�
  33. #spring.redis.jedis.pool.max-wait=-1
  34. ## ���ӳ��е�����������
  35. #spring.redis.jedis.pool.max-idle=10
  36. ## ���ӳ��е���С��������
  37. #spring.redis.jedis.pool.min-idle=0
  38. ## ���ӳ�ʱʱ�䣨���룩
  39. #spring.redis.timeout=1000
  40. ################################���� token ����ʱ��
  41. SESSION_EXPIRE=1800
  42. TOKEN_KEY=token