소스 검색

修改redis的dataindex和添加redis的password

cxd 8 달 전
부모
커밋
e3d56ceb8c
2개의 변경된 파일9개의 추가작업 그리고 7개의 파일을 삭제
  1. 8 6
      server/src/main/resources/application-local.yml
  2. 1 1
      server/src/main/resources/application.yml

+ 8 - 6
server/src/main/resources/application-local.yml

@@ -10,27 +10,29 @@ spring:
         driver-class-name: com.mysql.jdbc.Driver
         url: jdbc:mysql://127.0.0.1:3306/erp-warehouse?useUnicode=true&characterEncoding=utf8&autoReconnect=true&rewriteBatchedStatements=true&useSSL=false
         username: root
+        #password: root
         password: Gd8XCWEef72GerxE
 
   #rabbitmq
   rabbitmq:
-    host: 127.0.0.1
+    host: 120.46.190.49
     port: 5672
-    username: guest
-    password: guest
-    virtual-host: /
+    username: admin
+    password: Gd8XCWEef72GerxE
+    virtual-host: /warehouse
 
 #redis 配置
 redis:
   type: standalone
   config:
     type: manual
-  host: 127.0.0.1
+  host: 120.46.190.49
+  password: Iayq@742295
   port: 6379
   maxIdle: 500
   maxTotal: 500
   maxWaitMillis: -1
-  database: 1
+  database: 3
 
 # 开发环境日志为debug
 logging:

+ 1 - 1
server/src/main/resources/application.yml

@@ -1,5 +1,5 @@
 server:
-  port: 9998
+  port: 9999
 spring:
   application:
     name: erp-server