You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bootstrap.yml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. spring:
  2. application:
  3. name: local-iaw
  4. mvc:
  5. locale: zh_CN
  6. messages:
  7. basename: ValidationMessages_zh
  8. jpa:
  9. database-platform: org.hibernate.dialect.Oracle10gDialect
  10. open-in-view: false
  11. cloud:
  12. nacos:
  13. discovery:
  14. enabled: true
  15. server-addr: 100.64.2.105:8848
  16. namespace: zhywpt-new-test
  17. username: nacos
  18. password: 'Pw=j8PKxV7s9'
  19. # ip: 127.0.0.1
  20. # networkInterface: 以太网
  21. config:
  22. enabled: true
  23. file-extension: yaml # 必须修改成yaml
  24. server-addr: 100.64.2.105:8848
  25. namespace: zhywpt-new-test
  26. username: nacos
  27. password: 'Pw=j8PKxV7s9'
  28. extension-configs:
  29. - data-id: db-oracle.yaml
  30. refresh: true
  31. - data-id: comm-client.yaml
  32. refresh: true
  33. - data-id: redis.yaml
  34. refresh: true
  35. - data-id: minio-client.yaml
  36. refresh: true
  37. server:
  38. port: 8085
  39. servlet:
  40. context-path: /iaw/
  41. #应用相关配置
  42. app:
  43. nodeNum: 001
  44. path: D:/devEnv/sample/ #工程的目录,#sso集成默认读取该目录下的oauth_client.properties
  45. swagger:
  46. enable: true
  47. comm:
  48. # 自定义服务地址map,key为服务名、value为服务地址。如果配置了服务地址,接口调用时请求到该地址,如果没配置,默认请求到gateway
  49. serviceAddr:
  50. # sample: http://127.0.0.1:8086
  51. inss: http://127.0.0.1:8086