30 lines
665 B
YAML
30 lines
665 B
YAML
# Tomcat
|
|
server:
|
|
port: 28082
|
|
|
|
# Spring
|
|
spring:
|
|
cloud:
|
|
nacos:
|
|
discovery:
|
|
# 服务注册地址
|
|
# server-addr: 192.168.1.2:8848
|
|
server-addr: 14.103.246.124:8848
|
|
namespace: material_mall
|
|
ip: 192.168.0.69
|
|
config:
|
|
# 配置中心地址
|
|
#server-addr: 192.168.1.2:8848
|
|
server-addr: 14.103.246.124:8848
|
|
namespace: material_mall
|
|
# 配置文件格式
|
|
file-extension: yml
|
|
# 共享配置
|
|
shared-configs:
|
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
|
|
#加密组件
|
|
jasypt:
|
|
encryptor:
|
|
password: Encrypt
|