From 587b932098697b10e2a05bad8964461b833b80aa Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Tue, 28 Dec 2021 16:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9docker=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-prod.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index fe7a428..a6a0f67 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,13 +1,13 @@ server: - port: 7011 + port: 7012 ip: 1.24.238.149 - url: http://${server.ip}:37210/population - system-title: 人口信息系统 - system-sub-title: 人口信息 + url: http://${server.ip}:37210/library + system-title: 知识库系统 + system-sub-title: 知识库 #default-index-page: nav-page: ${api-path.user-center-2} servlet: - context-path: /population + context-path: /library spring: login-url: /oauth/login @@ -28,7 +28,7 @@ spring: max-request-size: 1GB datasource: druid: - url: jdbc:mysql://192.168.158.18:3306/db_smart_city_population?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true + url: jdbc:mysql://192.168.158.18:3306/db_smart_city_knowledge_library?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true db-type: mysql driver-class-name: com.mysql.cj.jdbc.Driver username: tsroot @@ -145,8 +145,8 @@ security: oauth-server: ${api-path.user-center-2} oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} #外网 client: - client-id: 8efff6f8f7fc463e8eb63e3b5174f448 - client-secret: b1hPdUE1NkJlM1RmbS9MTVlnYUR2QTI5NEcyTFpGandTNC8zVTh5cW5CTGxIdG9KZmEyTjJIRnI0dG1McEdEVA== + client-id: 432f725cde6f43eb802b17a1d2034fae + client-secret: SmR0ZVJiT01hZ0pNV05tS0RPWVJpVHNOUzMwY0hYZkV0OTJsa3VySVpKSGxIdG9KZmEyTjJIRnI0dG1McEdEVA== user-authorization-uri: ${security.oauth2.oauth-server}/oauth2_client/authorize #外网 access-token-uri: ${api-path.user-center}/oauth2_client/token grant-type: authorization_code @@ -161,7 +161,7 @@ security: logging: enable-api-log: false file: - name: /project/logs/population-logs.log + name: /project/logs/knowledge-library-logs.log level: root: error ink.wgink: debug