|
|
@@ -0,0 +1,30 @@
|
|
|
+# Tomcat
|
|
|
+server:
|
|
|
+ port: 9002
|
|
|
+
|
|
|
+# Spring
|
|
|
+spring:
|
|
|
+ application:
|
|
|
+ # 应用名称
|
|
|
+ name: soc-sms
|
|
|
+ profiles:
|
|
|
+ # 环境配置
|
|
|
+ active: dev
|
|
|
+ cloud:
|
|
|
+ nacos:
|
|
|
+ discovery:
|
|
|
+ namespace: daeca365-9d24-4d61-876e-478bb1be0e7a
|
|
|
+ # 服务注册地址
|
|
|
+ server-addr: 10.87.21.103:8847
|
|
|
+ config:
|
|
|
+ namespace: daeca365-9d24-4d61-876e-478bb1be0e7a
|
|
|
+ # 配置中心地址
|
|
|
+ server-addr: 10.87.21.103:8847
|
|
|
+ # 配置文件格式
|
|
|
+ file-extension: yml
|
|
|
+ # 共享配置
|
|
|
+ shared-configs:
|
|
|
+ - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
|
+logging:
|
|
|
+ file:
|
|
|
+ name: logs/${spring.application.name}/info.log
|