spzx/spzx-service/service-user/src/main/resources/application-dev.yml

28 lines
646 B
YAML
Raw Normal View History

2023-12-26 15:12:19 +08:00
server:
port: 8512
spring:
application:
name: service-user
cloud:
nacos:
discovery:
2023-12-27 16:16:31 +08:00
server-addr: 192.168.2.82:8848
2023-12-28 12:47:25 +08:00
# server-addr: 192.168.31.202:8848
2023-12-26 15:12:19 +08:00
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://60.204.230.80:3306/db_spzx?characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: "02120212"
data:
redis:
port: 6379
2023-12-27 16:16:31 +08:00
host: 192.168.2.82
2023-12-28 12:47:25 +08:00
# host: 192.168.31.202
2023-12-26 16:18:31 +08:00
mybatis:
config-location: classpath:mybatis-config.xml
mapper-locations: classpath:/mapper/*.xml