Browse Source

分离dev和test环境配置参数。

bruce 2 years ago
parent
commit
a89934db44

+ 10 - 35
imcs-bt-be/imcs-authority-server/src/main/resources/application-test.yml

@@ -1,48 +1,23 @@
 zuihou:
   nginx:
-    ip: 127.0.0.1     # 正式环境需要将该ip设置成nginx对应的 公网ip
-    port: 8764
+    ip: 123.56.250.113     # 正式环境需要将该ip设置成nginx对应的 公网ip
+    port: 80
   redis:
     ip: 127.0.0.1
-    port: 16379
-    password: SbtyMveYNfLzTks7H0apCmyStPzWJqjy
+    port: 6379
+    password: 123456
     database: 0
   rabbitmq:
     enabled: true
     ip: 127.0.0.1
-    port: 5672
-    username: guest
-    password: guest
+    port: 15672
+    username: admin
+    password: rabbitmq
   mysql:
     ip: 127.0.0.1
-    port: 3306
+    port: 3307
     driverClassName: com.mysql.cj.jdbc.Driver
     database: zuihou_defaults_bt
     username: root
-    password: Casc@imcs
-    url: jdbc:mysql://${zuihou.mysql.ip}:${zuihou.mysql.port}/${zuihou.mysql.database}?serverTimezone=CTT&characterEncoding=utf8&useUnicode=true&useSSL=false&autoReconnect=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
-  database:
-    isNotWrite: false
-  file:
-    remoteInputDataPath: smb://SOFLEX-PCS:SOFLEX-PCS@192.168.0.2/SOFLEX_PCS_iGen_CASC1_INPUT/ERP_DATA/
-  swagger:
-    # 正式环境用nginx代理,为了保持和cloud版本一致的URL,特意调整
-    docket:
-      general:
-        base-path: /api/oauth
-      oauth:
-        base-path: /api/oauth
-      auth:
-        base-path: /api/authority
-      common:
-        base-path: /api/authority
-      core:
-        base-path: /api/authority
-      tenant:
-        base-path: /api/authority
-      sms:
-        base-path: /api/msgs
-      msgs:
-        base-path: /api/msgs
-      file:
-        base-path: /api/file
+    password: Passw0rd111
+    url: jdbc:mysql://${zuihou.mysql.ip}:${zuihou.mysql.port}/${zuihou.mysql.database}?serverTimezone=CTT&characterEncoding=utf8&useUnicode=true&useSSL=false&autoReconnect=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true