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

View File

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

View File

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

View File

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

View File

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

View File

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