spring:
  profiles:
    active: dev

---
server:
  port: 8001


#mybatis配置
mybatis:
  type-aliases-package: com.ljj.springcloud.entity
  mapper-locations: classpath:mybatis/mapper/*.xml


#spring的配置
spring:
  profiles: dev
  application:
    name: springcloud-provider-dept-ljj
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: org.gjt.mm.mysql.Driver
    url: jdbc:mysql://localhost:3306/clouddb01?useUnicode=true&characterEncoding=utf-8
    username: root
    password:
#Eureka的配置,服务注册到哪里
eureka:
  client:
    service-url:
      defaultZone: http://eureka7000.com:7000/eureka/,http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
  instance:
    instance-id: springcloud-provider-dept8001 #修改eureka的默认描述信息
    prefer-ip-address: true     #访问路径可以显示IP地址
#info配置
info:
  app.name: ljj-springcloud
  company.name: www.ljj.com



---
server:
  port: 8001


#mybatis配置
mybatis:
  type-aliases-package: com.ljj.springcloud.entity
  mapper-locations: classpath:mybatis/mapper/*.xml


#spring的配置
spring:
  profiles: test
  application:
    name: springcloud-provider-dept-ljj
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: org.gjt.mm.mysql.Driver
    url: jdbc:mysql://localhost:3306/clouddb02?useUnicode=true&characterEncoding=utf-8
    username: root
    password:
#Eureka的配置,服务注册到哪里
eureka:
  client:
    service-url:
      defaultZone: http://eureka7000.com:7000/eureka/,http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
  instance:
    instance-id: springcloud-provider-dept8001 #修改eureka的默认描述信息
    prefer-ip-address: true     #访问路径可以显示IP地址
#info配置
info:
  app.name: ljj-springcloud
  company.name: www.ljj.com