nacos-迁移dev服务器

This commit is contained in:
khalil
2024-02-07 14:41:15 +08:00
parent 3d0d35a2dc
commit 73a3d4a164
14 changed files with 55 additions and 55 deletions

View File

@@ -1,7 +1,7 @@
#MySQL数据库配置
spring:
datasource:
url: jdbc:mysql://43.134.121.183:3306/peko?useUnicode=true&characterEncoding=UTF-8&tinyInt1isBit=false&useSSL=false
url: jdbc:mysql://129.226.216.54:3306/peko?useUnicode=true&characterEncoding=UTF-8&tinyInt1isBit=false&useSSL=false
username: root
password: anan@dev##
driver-class-name: com.mysql.cj.jdbc.Driver
@@ -12,13 +12,13 @@ spring:
connection-test-query: select 1
data:
mongodb:
host: 43.134.121.183
host: 129.226.216.54
port: 27017
username: peko
password: peko@mongo@dev#!
database: peko
redis:
host: 43.134.121.183
host: 129.226.216.54
port: 6200
maxTotal: 100
maxIdle: 50
@@ -31,7 +31,7 @@ spring:
# file: classpath:redisson.yaml
config: |
singleServerConfig:
address: redis://43.134.121.183:6200
address: redis://129.226.216.54:6200
password: anan@dev@redis@#!
connectionMinimumIdleSize: 4
timeout: 10000
@@ -42,7 +42,7 @@ spring:
##activemq 配置
activemq:
brokerUrl: tcp://43.134.121.183:61619
brokerUrl: tcp://129.226.216.54:61619
user: system
password: manager
maxConnections: 50
@@ -50,7 +50,7 @@ activemq:
## rocketmq 配置
rocketmq:
name-server: 43.134.121.183:9876
name-server: 129.226.216.54:9876
producer:
group: peko-group
sendMessageTimeout: 300000

View File

@@ -6,7 +6,7 @@ spring:
cloud:
nacos:
config:
server-addr: 43.134.121.183:8848
server-addr: 129.226.216.54:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
@@ -18,7 +18,7 @@ spring:
cloud:
nacos:
config:
server-addr: 43.134.121.183:8848
server-addr: 129.226.216.54:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
name: ${spring.application.name}
file-extension: yml
@@ -30,7 +30,7 @@ spring:
cloud:
nacos:
config:
server-addr: 43.134.121.183:8848
server-addr: 129.226.216.54:8848
namespace: 977fb3bc-f5b2-43d7-b9eb-36747405f755
name: ${spring.application.name}
file-extension: yml