Browse Source

生产配置

logistics
ma 4 years ago
parent
commit
505bbd4622
  1. 8
      logistics/src/main/resources/application-prod.yml
  2. 4
      logistics/src/main/resources/application.yml
  3. 6
      logistics/src/main/resources/druid-prod.yml

8
logistics/src/main/resources/application-prod.yml

@ -8,7 +8,7 @@ spring:
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
rabbitmq: rabbitmq:
host: 127.0.0.1 host: 121.36.3.207
password: 111111 password: 111111
port: 5672 port: 5672
username: admin username: admin
@ -21,15 +21,15 @@ spring:
max-idle: 10 max-idle: 10
max-wait: -1ms max-wait: -1ms
min-idle: 0 min-idle: 0
# password: '' password: ''
password: 'areowqr!@43ef' # password: 'areowqr!@43ef'
port: 6379 port: 6379
timeout: 1000ms timeout: 1000ms
swagger: swagger:
enable: true enable: true
eureka: eureka:
instance: instance:
ip-address: 121.36.3.207 ip-address: 119.3.214.36
gatewayUrl: https://www.tall.wiki/gateway/ gatewayUrl: https://www.tall.wiki/gateway/
notGatewayUrl: https://www.tall.wiki/ notGatewayUrl: https://www.tall.wiki/

4
logistics/src/main/resources/application.yml

@ -1,6 +1,6 @@
spring: spring:
profiles: profiles:
active: test active: prod
include: common,util-test include: common,util-prod

6
logistics/src/main/resources/druid-prod.yml

@ -15,7 +15,7 @@ spring:
maxWait: 60000 maxWait: 60000
minEvictableIdleTimeMillis: 300000 minEvictableIdleTimeMillis: 300000
minIdle: 5 minIdle: 5
password: password: 68073a279b399baa1fa12cf39bfbb65bfc1480ffee7b659ccc81cf19be8c4473
poolPreparedStatements: true poolPreparedStatements: true
servletLogSlowSql: true servletLogSlowSql: true
servletLoginPassword: 111111 servletLoginPassword: 111111
@ -27,7 +27,7 @@ spring:
testOnReturn: false testOnReturn: false
testWhileIdle: true testWhileIdle: true
timeBetweenEvictionRunsMillis: 60000 timeBetweenEvictionRunsMillis: 60000
url: jdbc:mysql://127.0.0.1/logisticspark?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true url: jdbc:mysql://www.tall.wiki/logisticspark?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true
username: root username: root
validationQuery: SELECT 1 FROM DUAL validationQuery: SELECT 1 FROM DUAL
env: CCSENS_GAME env: CCSENS_TALL
Loading…
Cancel
Save