bootstrap.properties.prod 1.2 KB

123456789101112131415161718192021222324252627
  1. server.port=49003
  2. spring.application.name=config-server
  3. # eureka
  4. eureka.instance.hostname=config-server
  5. eureka.instance.prefer-ip-address=true
  6. eureka.client.service-url.defaultZone=http://10.0.0.153:49001/eureka/,http://10.0.0.152:49001/eureka/
  7. #eureka.instance.instance-id=${eureka.instance.hostname}:${server.port}
  8. #eureka.instance.ip-address=112.74.63.148
  9. # config
  10. spring.profiles.active=jdbc
  11. spring.cloud.config.server.jdbc.sql=SELECT config_key as `KEY`, config_value as `VALUE` from sys_properties where (APPLICATION=? or application='application-default') and (PROFILE=? or PROFILE='default') and LABEL=? and status='1'
  12. spring.datasource.url=jdbc:mysql://rm-wz995mu26a1479kz0.mysql.rds.aliyuncs.com:3306/szwl
  13. spring.datasource.username=root
  14. spring.datasource.password=sunzee@020
  15. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  16. #Log levels (TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)
  17. logging.level.root=INFO
  18. logging.level.org.springframework=INFO
  19. logging.level.org.springframework.web=INFO
  20. logging.level.org.mybatis=DEBUG
  21. logging.level.com.shawn=TRACE
  22. # File output
  23. logging.file.max-size=100MB
  24. logging.file.max-history=30
  25. logging.file.name=/app/applogs/${spring.application.name}/${spring.application.name}.log