Browse Source

119.3.214.36服务器部署

pt
zzc 1 year ago
parent
commit
20f8c84308
  1. 2
      cloudutil/src/main/resources/application-util-greenvalley.yml
  2. 8
      game/src/main/resources/application-prod.yml
  3. 4
      game/src/main/resources/druid-prod.yml
  4. 10
      tall/src/main/resources/application-greenvalley.yml
  5. 4
      tall/src/main/resources/druid-greenvalley.yml
  6. 4
      tcm/src/main/resources/druid-prod.yml

2
cloudutil/src/main/resources/application-util-greenvalley.yml

@ -19,7 +19,7 @@ eureka:
client:
service-url:
# 指定eureka server通信地址,注意/eureka/小尾巴不能少
defaultZone: http://admin:admin@82.156.116.247:7010/eureka/
defaultZone: http://admin:admin@127.0.0.1:7010/eureka/
# defaultZone: http://admin:admin@49.232.6.143:7010/eureka/
instance:
# 是否注册IP到eureka server,如不指定或设为false,那就回注册主机名到eureka server

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

@ -11,7 +11,7 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
rabbitmq:
host: 121.36.3.207
host: localhost
password: 111111
port: 5672
username: admin
@ -33,10 +33,10 @@ swagger:
eureka:
instance:
# ip-address: 119.3.214.36
ip-address: 101.201.226.21
ip-address: 127.0.0.1
gatewayUrl: https://www.tall.wiki/gateway/
notGatewayUrl: https://www.tall.wiki/
gatewayUrl: https://localhost:7020/gateway/
notGatewayUrl: https://localhost:7020/
gameMqName: game_status_www
saveWpsFile: tall/v1.0/wps/saveWps
queryVisitUrls: tall/v1.0/wps/visitUrls

4
game/src/main/resources/druid-prod.yml

@ -15,7 +15,7 @@ spring:
maxWait: 60000
minEvictableIdleTimeMillis: 300000
minIdle: 5
password: 68073a279b399baa1fa12cf39bfbb65bfc1480ffee7b659ccc81cf19be8c4473
password:
poolPreparedStatements: true
servletLogSlowSql: true
servletLoginPassword: 111111
@ -27,7 +27,7 @@ spring:
testOnReturn: false
testWhileIdle: true
timeBetweenEvictionRunsMillis: 60000
url: jdbc:mysql://121.36.3.207/game?useUnicode=true&characterEncoding=UTF-8
url: jdbc:mysql://127.0.0.1/game?useUnicode=true&characterEncoding=UTF-8
username: root
validationQuery: SELECT 1 FROM DUAL
env: CCSENS_TALL

10
tall/src/main/resources/application-greenvalley.yml

@ -31,11 +31,11 @@ swagger:
enable: true
eureka:
instance:
ip-address: 82.156.116.247
ip-address: 127.0.0.1
gatewayUrl: https://www.sxgreenvalley.com/gateway/
notGatewayUrl: https://www.sxgreenvalley.com/
gatewayUrl: https://127.0.0.1:7020/gateway/
notGatewayUrl: https://127.0.0.1:7020/
smsCode: 1
file:
domain: https://www.sxgreenvalley.com/gateway/tall/v1.0/
imgDomain: https://www.sxgreenvalley.com/gateway/tall/v1.0/uploads
domain: https://127.0.0.1:7020/gateway/tall/v1.0/
imgDomain: https://127.0.0.1:7020/gateway/tall/v1.0/uploads

4
tall/src/main/resources/druid-greenvalley.yml

@ -15,7 +15,7 @@ spring:
maxWait: 60000
minEvictableIdleTimeMillis: 300000
minIdle: 5
password: 6ba13d9930a6ad888a3704376c920a75
password:
poolPreparedStatements: true
servletLogSlowSql: true
servletLoginPassword: 111111
@ -27,7 +27,7 @@ spring:
testOnReturn: false
testWhileIdle: true
timeBetweenEvictionRunsMillis: 60000
url: jdbc:mysql://82.157.24.76:3306/tall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true
url: jdbc:mysql://localhost:3306/tall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true
# url: jdbc:mysql://49.232.6.143:3306/tall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true
username: root
validationQuery: SELECT 1 FROM DUAL

4
tcm/src/main/resources/druid-prod.yml

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