28 lines
646 B
YAML
28 lines
646 B
YAML
server:
|
|
port: 8512
|
|
|
|
spring:
|
|
application:
|
|
name: service-user
|
|
cloud:
|
|
nacos:
|
|
discovery:
|
|
server-addr: 192.168.2.82:8848
|
|
# server-addr: 192.168.31.202:8848
|
|
|
|
|
|
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
|
|
host: 192.168.2.82
|
|
# host: 192.168.31.202
|
|
|
|
mybatis:
|
|
config-location: classpath:mybatis-config.xml
|
|
mapper-locations: classpath:/mapper/*.xml |