server:
  port: 8087
spring:
  application:
    name: notification-service
  profiles:
    active: dev
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://111.229.80.149:3306/erp_db?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
    username: root
    password: nihao588+
    type: com.alibaba.druid.pool.DruidDataSource
  redis:
    host: 111.229.80.149
    port: 6379
    password: Y(@r5tGk9$Lp2
    timeout: 5000
  cloud:
    nacos:
      config:
        server-addr: 43.226.44.101:8848
        namespace: ${NACOS_NAMESPACE:public}
        group: ${NACOS_GROUP:DEFAULT_GROUP}
        file-extension: yaml
        shared-configs:
          - data-id: common-config.yaml
            group: DEFAULT_GROUP
            refresh: true
          - data-id: datasource-config.yaml
            group: DEFAULT_GROUP
            refresh: true
          - data-id: redis-config.yaml
            group: DEFAULT_GROUP
            refresh: true
        extension-configs:
          - data-id: notification-service-config.yaml
            group: DEFAULT_GROUP
            refresh: true
      discovery:
        server-addr: 43.226.44.101:8848
        namespace: ${NACOS_NAMESPACE:public}
        group: ${NACOS_GROUP:DEFAULT_GROUP}
        enabled: true
management:
  endpoints:
    web:
      exposure:
        include: health,info,metrics
  endpoint:
    health:
      show-details: always
logging:
  level:
    com.erp.notification: INFO
