首页 > 其他分享 >application配置文件

application配置文件

时间:2023-01-19 18:44:52浏览次数:33  
标签:200.129 配置文件 192.168 application password port

application.yml

spring:
  application:
    name: service-product
  profiles:
    active: dev
  cloud:
    nacos:
      discovery:
        server-addr: 127.0.0.1:8848

application-dev.yml

server:
  port: 8206
mybatis-plus:
  mapper-locations: classpath:mapper/*Mapper.xml
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
spring:
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    username: root
    password: root
    url: jdbc:mysql://192.168.200.129:3306/gmall_product
  redis:
    host: 192.168.200.129
    password:
    database: 0
    port: 6379
  zipkin:
    base-url: http://192.168.200.129:9411
  rabbitmq:
    host: 192.168.200.129
    port: 5672
    username: guest
    password: guest

标签:200.129,配置文件,192.168,application,password,port
From: https://www.cnblogs.com/wujiheng/p/17061956.html

相关文章