From fd0948e74a44e0769099b8501cc5ea78ef4f778a Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Mon, 16 Aug 2021 22:31:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0docker=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=92=8C=E9=9B=86=E5=AE=81=E7=8E=AF=E4=BF=9D=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{application.yml => application-test.yml} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename src/main/resources/{application.yml => application-test.yml} (84%) diff --git a/src/main/resources/application.yml b/src/main/resources/application-test.yml similarity index 84% rename from src/main/resources/application.yml rename to src/main/resources/application-test.yml index c4e4690..074f2ba 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application-test.yml @@ -1,6 +1,6 @@ server: - port: 8080 - url: http://192.168.0.109:8080/population + port: 8093 + url: http://49.233.36.36:58093/population title: population servlet: context-path: /population @@ -20,11 +20,11 @@ spring: max-request-size: 1GB datasource: druid: - url: jdbc:mysql://localhost:3306/db_user_management?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false + url: jdbc:mysql://localhost:3306/db_cloud_population?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false db-type: mysql driver-class-name: com.mysql.jdbc.Driver username: root - password: 123456 + password: root initial-size: 2 min-idle: 2 max-active: 5 @@ -61,7 +61,7 @@ swagger: # 文件 file: - uploadPath: /Users/wenc/Desktop/filetest + uploadPath: /Users/wanggeng/Desktop/UploadFiles imageTypes: png,jpg,jpeg,gif,blob videoTypes: mp4 audioTypes: mp3,wav,amr @@ -71,11 +71,11 @@ file: # 安全 security: oauth2: - oauth-server: http://49.233.36.36:8868/usercenter + oauth-server: http://49.233.36.36:58090/usercenter oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} client: - client-id: 3d24af9a292d40fbb58f133c63bb2abf - client-secret: elFGMTBpSGI0QlROWlpMeDh4WVArc25yMVRmeWVtOUl5RTl2ZG9uTzBiNG1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + client-id: ba950215f6bb4d45bddd6cbcb87395e7 + client-secret: WmlVZ2M4M2ZTeTdaS25OVlFwUExac3QrOU9kdHEybVgxSmhETTdFV2F5TW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== user-authorization-uri: ${security.oauth2.oauth-server}/oauth_client/authorize access-token-uri: ${security.oauth2.oauth-server}/oauth_client/token grant-type: authorization_code