v1.0 : 调整nacos

This commit is contained in:
fbc
2022-09-27 19:20:13 +08:00
parent 15391e5296
commit dbeead477d
6 changed files with 34 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ spring:
nacos:
config:
server-addr: 120.24.160.102:8848
namespace: f69a0ab8-f504-4516-9017-20017bd83fef
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
shared-dataids: application.yml,thirdpart.yml,pay.yml,database.yml,sysconf.yml

View File

@@ -7,7 +7,7 @@ spring:
nacos:
config:
server-addr: 120.24.160.102:8848
namespace: f69a0ab8-f504-4516-9017-20017bd83fef
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
shared-dataids: application.yml,thirdpart.yml,pay.yml,database.yml,sysconf.yml

View File

@@ -7,7 +7,7 @@ spring:
nacos:
config:
server-addr: 120.24.160.102:8848
namespace: f69a0ab8-f504-4516-9017-20017bd83fef
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
shared-dataids: application.yml,thirdpart.yml,pay.yml,database.yml,sysconf.yml

View File

@@ -7,7 +7,7 @@ spring:
nacos:
config:
server-addr: 120.24.160.102:8848
namespace: f69a0ab8-f504-4516-9017-20017bd83fef
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
shared-dataids: application.yml,thirdpart.yml,pay.yml,database.yml,sysconf.yml

View File

@@ -1,9 +1,9 @@
#MySQL数据库配置
spring:
datasource:
url: jdbc:mysql://47.106.199.67:3306/xchat?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=true&autoReconnect=true&serverTimezone=Asia/Shanghai
username: accompany
password: accompany@dev#mysql
url: jdbc:mysql://118.194.255.128:3306/peko?useUnicode=true&characterEncoding=UTF-8&tinyInt1isBit=false
username: root
password: anan@dev##
driver-class-name: com.mysql.jdbc.Driver
druid:
initial-size: 5
@@ -29,25 +29,35 @@ spring:
connection-timeout: 30000
data:
mongodb:
host: 47.106.199.67
host: 118.194.255.128
port: 27017
username: accompany
password: accompany@dev##
database: accompany
username: peko
password: peko@mongo@dev#!
database: peko
redis:
host: 47.106.199.67
host: 118.194.255.128
port: 6200
password: accompany@redis@#!
maxTotal: 300
maxIdle: 300
minIdle: 20
maxWait: 3000
maxTotal: 100
maxIdle: 50
maxWait: 2500
testOnBorrow: true
testOnReturn: true
password: anan@dev@redis@#!
database: 1
redisson:
# file: classpath:redisson.yaml
config: |
singleServerConfig:
address: redis://118.194.255.128:6200
password: anan@dev@redis@#!
threads: 16
nettyThreads: 32
codec: !<org.redisson.codec.MarshallingCodec> {}
transportMode: "NIO"
##activemq 配置
activemq:
brokerUrl: tcp://47.106.199.67:61618
brokerUrl: tcp://118.194.255.128:61619
user: system
password: manager
maxConnections: 50
@@ -56,7 +66,9 @@ activemq:
## ES配置
elasticsearch:
clusterName: elasticsearch
hostName: 47.106.199.67
hostName: es-cn-2r42lphv9000nvr61.public.elasticsearch.aliyuncs.com
port: 9200
username: elastic
password: changeme
password: xuanyin@es123
roomIndex: yinyou_dev_room
userIndex: yinyou_dev_users_202204121516

View File

@@ -7,7 +7,7 @@ spring:
nacos:
config:
server-addr: 120.24.160.102:8848
namespace: f69a0ab8-f504-4516-9017-20017bd83fef
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
shared-dataids: application.yml,thirdpart.yml,pay.yml,sysconf.yml
@@ -19,7 +19,7 @@ spring:
nacos:
config:
server-addr: 120.24.160.102:8848
namespace: f69a0ab8-f504-4516-9017-20017bd83fef
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
shared-dataids: application.yml,thirdpart.yml,pay.yml,database.yml,sysconf.yml