gaodd vor 2 Jahren
Ursprung
Commit
4c486abd06
2 geänderte Dateien mit 11 neuen und 12 gelöschten Zeilen
  1. 2 2
      pom.xml
  2. 9 10
      src/main/resources/bootstrap.yml

+ 2 - 2
pom.xml

@@ -4,11 +4,11 @@
4 4
 	<modelVersion>4.0.0</modelVersion>
5 5
 
6 6
 	<groupId>com.chinaitop</groupId>
7
-	<artifactId>depot-agent</artifactId>
7
+	<artifactId>depot-agent-qinghai</artifactId>
8 8
 	<version>0.0.1-SNAPSHOT</version>
9 9
     <packaging>jar</packaging>
10 10
 
11
-	<name>depot-agent</name>
11
+	<name>depot-agent-qinghai</name>
12 12
 	<description>Demo project for Spring Boot</description>
13 13
 
14 14
 	<parent>

+ 9 - 10
src/main/resources/bootstrap.yml

@@ -9,7 +9,7 @@ eureka:
9 9
     service-url:
10 10
       defaultZone: http://localhost:9001/eureka/
11 11
   instance:
12
-    hostname: 172.16.0.16
12
+    hostname: localhost
13 13
     prefer-ip-address: true
14 14
     # 每隔10s发送一次心跳(默认30s)
15 15
     lease-renewal-interval-in-seconds: 10
@@ -25,19 +25,18 @@ spring:
25 25
     name: depot-agent
26 26
   # 数据库配置
27 27
   datasource:
28
-    type: com.alibaba.druid.pool.DruidDataSource
29
-    url: jdbc:gbasedbt-sqli://101.36.160.140:19089/depot:INFORMIXSERVER=ol_gbasedbt1210;NEWCODESET=GB18030,GB18030-2000,5488;DB_LOCALE=zh_cn.GB18030-2000;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
30
-    username: gbasedbt
31
-    password: cDbK2S0go8
32
-    driver-class-name: com.gbasedbt.jdbc.IfxDriver
28
+    driver-class-name: com.mysql.jdbc.Driver
29
+    url: jdbc:mysql://101.36.160.140:10311/depot_qh?useUnicode=true&characterEncoding=utf-8
30
+    username: root
31
+    password: admin@1234
33 32
   # 缓存配置
34 33
   session:
35 34
     store-type: redis
36 35
   redis:
37
-    database: 3
38
-    host: 172.16.0.2
39
-    port: 6379
40
-    password: 123456
36
+    database: 0
37
+    host: 101.36.160.140
38
+    port: 10316
39
+    password: admin@1234
41 40
     timeout: 3000
42 41
     jedis:
43 42
       pool: