Skip to content

Commit

Permalink
提交
Browse files Browse the repository at this point in the history
  • Loading branch information
1295801348 committed Jul 14, 2023
1 parent 072feb0 commit b2280c5
Show file tree
Hide file tree
Showing 20 changed files with 51 additions and 51 deletions.
10 changes: 5 additions & 5 deletions config/admin/mall-admin-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ aliyun:
prefix: mall/images/ # 上传文件夹路径前缀
spring:
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: root
password: wylzs8888
redis:
host: localhost # Redis服务器地址
host: 121.37.12.183 # Redis服务器地址
database: 0 # Redis数据库索引(默认为0)
port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空)
timeout: 3000ms # 连接超时时间(毫秒)
minio:
endpoint: http://localhost:9000 #MinIO服务所在地址
endpoint: http://121.37.12.183:9000 #MinIO服务所在地址
bucketName: mall #存储桶名称
accessKey: minioadmin #访问的key
secretKey: minioadmin #访问的秘钥
Expand All @@ -31,4 +31,4 @@ logging:
root: info
com.macro.mall: debug
logstash:
host: localhost
host: 121.37.12.183
6 changes: 3 additions & 3 deletions config/demo/mall-demo-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: root
password: wylzs8888
logging:
level:
root: info
com.macro.mall: debug
logstash:
host: localhost
host: 121.37.12.183
4 changes: 2 additions & 2 deletions config/gateway/mall-gateway-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
spring:
redis:
host: localhost # Redis服务器地址
host: 121.37.12.183 # Redis服务器地址
database: 0 # Redis数据库索引(默认为0)
port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空)
Expand All @@ -15,4 +15,4 @@ logging:
root: info
com.macro.mall: debug
logstash:
host: localhost
host: 121.37.12.183
12 changes: 6 additions & 6 deletions config/portal/mall-portal-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: root
password: wylzs8888
data:
mongodb:
host: localhost
host: 121.37.12.183
port: 27017
database: mall-port
redis:
host: localhost # Redis服务器地址
host: 121.37.12.183 # Redis服务器地址
database: 0 # Redis数据库索引(默认为0)
port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空)
rabbitmq:
host: localhost
host: 121.37.12.183
port: 5672
virtual-host: /mall
username: mall
Expand All @@ -25,4 +25,4 @@ logging:
root: info
com.macro.mall: debug
logstash:
host: localhost
host: 121.37.12.183
2 changes: 1 addition & 1 deletion config/portal/mall-portal-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
datasource:
url: jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: root
password: wylzs8888
data:
mongodb:
host: mongo
Expand Down
8 changes: 4 additions & 4 deletions config/search/mall-search-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: root
password: root
password: wylzs8888
elasticsearch:
uris: localhost:9200
uris: 121.37.12.183:9200
logging:
level:
root: info
com.macro.mall: debug
logstash:
host: localhost
host: 121.37.12.183
2 changes: 1 addition & 1 deletion document/sql/mall.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50719
Source Host : localhost:3306
Source Host : 121.37.12.183:6603
Source Database : mall
Target Server Type : MYSQL
Expand Down
8 changes: 4 additions & 4 deletions mall-admin/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ spring:
pathmatch:
matching-strategy: ant_path_matcher
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: root
password: wylzs8888
druid:
initial-size: 5 #连接池初始化大小
min-idle: 10 #最小空闲连接数
Expand All @@ -18,13 +18,13 @@ spring:
login-username: druid
login-password: druid
redis:
host: localhost # Redis服务器地址
host: 121.37.12.183 # Redis服务器地址
database: 0 # Redis数据库索引(默认为0)
port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空)
timeout: 3000ms # 连接超时时间(毫秒)
rabbitmq: #rabbitmq相关配置
host: localhost
host: 121.37.12.183
port: 5672
username: guest
password: guest
Expand Down
4 changes: 2 additions & 2 deletions mall-admin/src/main/resources/bootstrap-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
cloud:
nacos:
discovery:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
config:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
file-extension: yaml
4 changes: 2 additions & 2 deletions mall-auth/src/main/resources/bootstrap-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ spring:
cloud:
nacos:
discovery:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
config:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
file-extension: yaml
logging:
level:
Expand Down
4 changes: 2 additions & 2 deletions mall-demo/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ spring:
pathmatch:
matching-strategy: ant_path_matcher
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: root
password: wylzs8888
mybatis:
mapper-locations:
- classpath:mapper/*.xml
Expand Down
4 changes: 2 additions & 2 deletions mall-demo/src/main/resources/bootstrap-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
cloud:
nacos:
discovery:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
config:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
file-extension: yaml
2 changes: 1 addition & 1 deletion mall-gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spring:
redis:
database: 0
port: 6379
host: localhost
host: 121.37.12.183
password:
secure:
ignore:
Expand Down
4 changes: 2 additions & 2 deletions mall-gateway/src/main/resources/bootstrap-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
cloud:
nacos:
discovery:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
config:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
file-extension: yaml
2 changes: 1 addition & 1 deletion mall-mbg/src/main/resources/generator.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jdbc.driverClass=com.mysql.cj.jdbc.Driver
jdbc.connectionURL=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
jdbc.connectionURL=jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
jdbc.userId=root
jdbc.password=root
2 changes: 1 addition & 1 deletion mall-monitor/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ spring:
cloud:
nacos:
discovery:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
10 changes: 5 additions & 5 deletions mall-portal/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ spring:
pathmatch:
matching-strategy: ant_path_matcher
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: root
password: wylzs8888
druid:
initial-size: 5 #连接池初始化大小
min-idle: 10 #最小空闲连接数
Expand All @@ -19,17 +19,17 @@ spring:
login-password: druid
data:
mongodb:
host: localhost
host: 121.37.12.183
port: 27017
database: mall-port
redis:
host: localhost # Redis服务器地址
host: 121.37.12.183 # Redis服务器地址
database: 0 # Redis数据库索引(默认为0)
port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空)
timeout: 3000ms # 连接超时时间(毫秒)
rabbitmq:
host: localhost
host: 121.37.12.183
port: 5672
virtual-host: /mall
username: mall
Expand Down
4 changes: 2 additions & 2 deletions mall-portal/src/main/resources/bootstrap-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
cloud:
nacos:
discovery:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
config:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
file-extension: yaml
6 changes: 3 additions & 3 deletions mall-search/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ spring:
pathmatch:
matching-strategy: ant_path_matcher
datasource:
url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: root
password: wylzs8888
druid:
initial-size: 5 #连接池初始化大小
min-idle: 10 #最小空闲连接数
Expand All @@ -22,7 +22,7 @@ spring:
repositories:
enabled: true
elasticsearch:
uris: localhost:9200
uris: 121.37.12.183:9200
mybatis:
mapper-locations:
- classpath:dao/*.xml
Expand Down
4 changes: 2 additions & 2 deletions mall-search/src/main/resources/bootstrap-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
cloud:
nacos:
discovery:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
config:
server-addr: http://localhost:8848
server-addr: http://121.37.12.183:8848
file-extension: yaml

0 comments on commit b2280c5

Please sign in to comment.