application.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. server:
  2. port: 8081
  3. servlet:
  4. context-path: /agent
  5. tomcat:
  6. accesslog:
  7. buffered: true
  8. directory: /home/logs/tomcat
  9. enabled: true
  10. file-date-format: .yyyy-MM-dd
  11. pattern: '%t | %{X-Real-IP}i | %b | %B | %H | %l | %m | %p | %q | %r | %s | %S | %u | %U | %v | %D | %T | %{Cookie}i | %{User-Agent}i | %{a}r'
  12. prefix: access_log
  13. rename-on-rotate: false
  14. request-attributes-enabled: false
  15. rotate: true
  16. suffix: .log
  17. spring:
  18. cloud:
  19. nacos:
  20. discovery:
  21. port: ${discoveryPort:8848}
  22. server-addr: 127.0.0.1
  23. application:
  24. name: agent
  25. datasource:
  26. name: test
  27. url: jdbc:mysql://localhost:3306/4dkankan_center_application?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC&allowMultiQueries=true
  28. username: root
  29. password: 123456
  30. type: com.alibaba.druid.pool.DruidDataSource
  31. driver-class-name: com.mysql.cj.jdbc.Driver
  32. mybatis:
  33. mapper-locations: classpath:mapper/*/*.xml
  34. type-aliases-package: com.4dkankan_center_application.www
  35. configuration:
  36. map-underscore-to-camel-case: true
  37. logging:
  38. config: classpath:logback-spring.xml