build
This commit is contained in:
47
hs-im-app-server/src/main/resources/application-dev.yml
Normal file
47
hs-im-app-server/src/main/resources/application-dev.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
password: beAs0LHX2GyTxMw4
|
||||
url: jdbc:mysql://192.168.2.201:3306/im-core?serverTimezone=UTC&useSSL=false&characterEncoding=UTF8
|
||||
username: root
|
||||
hikari:
|
||||
max-lifetime: 50000
|
||||
|
||||
application:
|
||||
name: app.service
|
||||
|
||||
# logger 配置
|
||||
logging:
|
||||
config: classpath:logback-spring.xml
|
||||
|
||||
server:
|
||||
port: 8989
|
||||
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
mapper-locations: classpath*:mapper/*.xml
|
||||
global-config:
|
||||
db-config:
|
||||
update-strategy: NOT_EMPTY
|
||||
|
||||
mybatis:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
appConfig:
|
||||
imUrl: http://192.168.1.117:28000
|
||||
imVersion: v1
|
||||
appId: 10000
|
||||
adminId: admin
|
||||
privateKey: 123456
|
||||
|
||||
httpclient:
|
||||
maxTotal: 100
|
||||
defaultMaxPerRoute: 50
|
||||
connectTimeout: 2000
|
||||
connectionRequestTimeout: 2000
|
||||
socketTimeout: 5000
|
||||
staleConnectionCheckEnabled: true
|
||||
47
hs-im-app-server/src/main/resources/application-prod.yml
Normal file
47
hs-im-app-server/src/main/resources/application-prod.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: prod
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
password: Mars@23600800
|
||||
url: jdbc:mysql://172.16.2.3:3306/im-core?serverTimezone=UTC&useSSL=false&characterEncoding=UTF8
|
||||
username: root
|
||||
hikari:
|
||||
max-lifetime: 50000
|
||||
|
||||
application:
|
||||
name: app.service
|
||||
|
||||
# logger 配置
|
||||
logging:
|
||||
config: classpath:logback-spring.xml
|
||||
|
||||
server:
|
||||
port: 8989
|
||||
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
mapper-locations: classpath*:mapper/*.xml
|
||||
global-config:
|
||||
db-config:
|
||||
update-strategy: NOT_EMPTY
|
||||
|
||||
mybatis:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
appConfig:
|
||||
imUrl: http://172.16.2.3:28000
|
||||
imVersion: v1
|
||||
appId: 10000
|
||||
adminId: admin
|
||||
privateKey: 123456
|
||||
|
||||
httpclient:
|
||||
maxTotal: 100
|
||||
defaultMaxPerRoute: 50
|
||||
connectTimeout: 2000
|
||||
connectionRequestTimeout: 2000
|
||||
socketTimeout: 5000
|
||||
staleConnectionCheckEnabled: true
|
||||
@@ -1,47 +1,3 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
password: beAs0LHX2GyTxMw4
|
||||
url: jdbc:mysql://192.168.2.201:3306/im-core?serverTimezone=UTC&useSSL=false&characterEncoding=UTF8
|
||||
username: root
|
||||
hikari:
|
||||
max-lifetime: 50000
|
||||
|
||||
application:
|
||||
name: app.service
|
||||
|
||||
# logger 配置
|
||||
logging:
|
||||
config: classpath:logback-spring.xml
|
||||
|
||||
server:
|
||||
port: 8989
|
||||
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
mapper-locations: classpath*:mapper/*.xml
|
||||
global-config:
|
||||
db-config:
|
||||
update-strategy: NOT_EMPTY
|
||||
|
||||
mybatis:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
appConfig:
|
||||
imUrl: http://192.168.1.117:28000
|
||||
imVersion: v1
|
||||
appId: 10000
|
||||
adminId: admin
|
||||
privateKey: 123456
|
||||
|
||||
httpclient:
|
||||
maxTotal: 100
|
||||
defaultMaxPerRoute: 50
|
||||
connectTimeout: 2000
|
||||
connectionRequestTimeout: 2000
|
||||
socketTimeout: 5000
|
||||
staleConnectionCheckEnabled: true
|
||||
|
||||
Reference in New Issue
Block a user