Parcourir la source

更新 'src/main/resources/bootstrap.yml'

adminGRP il y a 5 ans
Parent
commit
dcf55caf5a
1 fichiers modifiés avec 2 ajouts et 58 suppressions
  1. 2 58
      src/main/resources/bootstrap.yml

+ 2 - 58
src/main/resources/bootstrap.yml

@@ -1,7 +1,3 @@
1
-spring:
2
-  profiles:
3
-    active: agentLv
4
----
5
 server:
1
 server:
6
   port: 9027
2
   port: 9027
7
   tomcat:
3
   tomcat:
@@ -11,7 +7,7 @@ server:
11
 eureka:
7
 eureka:
12
   client:
8
   client:
13
     service-url:
9
     service-url:
14
-      defaultZone: http://172.16.0.46:9711/eureka/
10
+      defaultZone: http://172.16.0.4:9711/eureka/
15
   instance:
11
   instance:
16
     prefer-ip-address: true
12
     prefer-ip-address: true
17
     # 每隔10s发送一次心跳(默认30s)
13
     # 每隔10s发送一次心跳(默认30s)
@@ -50,56 +46,4 @@ spring:
50
     static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
46
     static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
51
 
47
 
52
 web:
48
 web:
53
-  upload-path: /upload
54
-
55
----
56
-server:
57
-  port: 9027
58
-  tomcat:
59
-    uri-encoding: utf-8
60
-
61
-# 注册中心配置
62
-eureka:
63
-  client:
64
-    service-url:
65
-      defaultZone: http://192.168.123.98:9002/eureka/
66
-  instance:
67
-    prefer-ip-address: true
68
-    # 每隔10s发送一次心跳(默认30s)
69
-    lease-renewal-interval-in-seconds: 10
70
-    # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
71
-    lease-expiration-duration-in-seconds: 30
72
-
73
-spring:
74
-  profiles: dev
75
-  application:
76
-    name: depot-agent-lv
77
-  # 数据库配置
78
-  datasource:
79
-    type: com.alibaba.druid.pool.DruidDataSource
80
-    url: jdbc:gbasedbt-sqli://192.168.123.38:9099/depot:INFORMIXSERVER=depot;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;DB_LOCALE=zh_cn.GB18030-2000
81
-    username: gbasedbt
82
-    password: depot123456
83
-    driver-class-name: com.gbasedbt.jdbc.IfxDriver
84
-  # 缓存配置
85
-  session:
86
-    store-type: redis
87
-  redis:
88
-    database: 2
89
-    host: 192.168.123.98
90
-    port: 6666
91
-    password: depotredis
92
-    timeout: 3000
93
-    jedis:
94
-      pool:
95
-        max-active: 8
96
-        max-wait: -1
97
-        max-idle: 8
98
-        min-idle: 0
99
-  # 静态资源配置
100
-  resources:
101
-    static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
102
-
103
-web:
104
-  upload-path: /upload
105
-logging.level.com.chinaitop.depot.agent.crk.mapper: debug
49
+  upload-path: /upload