| | |
| | | server: |
| | | port: 9090 |
| | | servlet: |
| | | context-path: /xxl-job-admin |
| | | |
| | | logging: |
| | | file: |
| | | name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径 |
| | | |
| | | spring: |
| | | application: |
| | | name: xxl-job-server |
| | | profiles: |
| | | # 环境配置 |
| | | # active: @profiles.active@ |
| | | active: local |
| | | # Spring Boot Admin 配置项 |
| | | boot: |
| | | admin: |
| | | # Spring Boot Admin Client 客户端的相关配置 |
| | | client: |
| | | instance: |
| | | service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME] |
| | | mvc: |
| | | servlet: |
| | | load-on-startup: 0 |
| | |
| | | number_format: 0. |
| | | new_builtin_class_resolver: safer |
| | | datasource: |
| | | url: jdbc:mysql://127.0.0.1:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai |
| | | url: jdbc:mysql://172.16.8.100:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: 123456 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | |
| | | |
| | | # 服务端点检查 |
| | | management: |
| | | server: |
| | | base-path: /actuator |
| | | health: |
| | | mail: |
| | | enabled: false |
| | | trace: |
| | | http: |
| | | enabled: true |