server: port: 8800 servlet: context-path: /snail-job spring: application: name: snailjob-server profiles: active: @profiles.active@ web: resources: static-locations: classpath:admin/ mybatis-plus: typeAliasesPackage: com.aizuda.snailjob.template.datasource.persistence.po global-config: db-config: where-strategy: NOT_EMPTY capital-mode: false logic-delete-value: 1 logic-not-delete-value: 0 configuration: map-underscore-to-camel-case: true cache-enabled: true logging: config: classpath:logback-plus.xml management: endpoints: web: exposure: include: '*' endpoint: health: show-details: ALWAYS logfile: external-file: ./logs/${spring.application.name}/console.log --- # nacos 配置 spring: cloud: nacos: # nacos 服务地址 server-addr: @nacos.server@ username: @nacos.username@ password: @nacos.password@ discovery: # 注册组 group: @nacos.discovery.group@ namespace: ${spring.profiles.active} config: # 配置组 group: @nacos.config.group@ namespace: ${spring.profiles.active} config: import: - optional:nacos:datasource.yml - optional:nacos:${spring.application.name}.yml