环境-迁移测试环境

This commit is contained in:
khalil
2024-12-18 22:16:13 +08:00
parent fd2e82a78a
commit bf95d3ec0b
13 changed files with 46 additions and 46 deletions

View File

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

View File

@@ -18,7 +18,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -41,7 +41,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -66,7 +66,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a
file-extension: yml file-extension: yml
shared-configs: shared-configs:

View File

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

View File

@@ -18,7 +18,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -41,7 +41,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -65,7 +65,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a
file-extension: yml file-extension: yml
shared-configs: shared-configs:

View File

@@ -1,4 +1,4 @@
FROM 129.226.216.54:8089/openjdk/openjdk_8_chwl:1.0 FROM 124.156.164.187:8089/openjdk/openjdk_8_chwl:1.0
VOLUME /data/java/weblog/accompany-business VOLUME /data/java/weblog/accompany-business

View File

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

View File

@@ -18,7 +18,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -41,7 +41,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -65,7 +65,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a
file-extension: yml file-extension: yml
shared-configs: shared-configs:

View File

@@ -713,7 +713,7 @@
<repositories> <repositories>
<repository> <repository>
<id>peko-public</id> <id>peko-public</id>
<url>http://nexus.pekolive.com/repository/maven-public/</url> <url>http://nexus.molistar.xyz/repository/maven-public/</url>
<releases> <releases>
<enabled>true</enabled> <enabled>true</enabled>
</releases> </releases>

View File

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

View File

@@ -18,7 +18,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -41,7 +41,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -65,7 +65,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a
file-extension: yml file-extension: yml
shared-configs: shared-configs:

View File

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

View File

@@ -15,7 +15,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -38,7 +38,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6 namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
file-extension: yml file-extension: yml
shared-configs: shared-configs:
@@ -62,7 +62,7 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 129.226.216.54:8848 server-addr: 124.156.164.187:8848
namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a namespace: 0c9bf047-19ca-4969-bf5d-bbc1f86b501a
file-extension: yml file-extension: yml
shared-configs: shared-configs:

View File

@@ -10,7 +10,7 @@ bucket_name = 'peko-prod'
MYSQL_CONFIG = { MYSQL_CONFIG = {
"host": "129.226.216.54", "host": "124.156.164.187",
"port": 3306, "port": 3306,
"username": "root", "username": "root",
"password": "anan@dev##", "password": "anan@dev##",