File tree 6 files changed +26
-348
lines changed
jeecg-demo-cloud-start/src/main/resources
jeecg-system-cloud-start/src/main/resources
jeecg-cloud-monitor/src/main/resources
jeecg-cloud-xxljob/src/main/resources
6 files changed +26
-348
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,14 +7,18 @@ spring:
7
7
cloud :
8
8
nacos :
9
9
config :
10
- server-addr : localhost:8848
11
- # username: @config.username@
12
- # password: @config.password@
10
+ server-addr : @config.server-addr@
11
+ group : @config.group@
12
+ namespace : @config.namespace@
13
+ username : @config.username@
14
+ password : @config.password@
13
15
discovery :
14
16
server-addr : ${spring.cloud.nacos.config.server-addr}
15
- # username: @config.username@
16
- # password: @config.password@
17
+ group : @config.group@
18
+ namespace : @config.namespace@
19
+ username : @config.username@
20
+ password : @config.password@
17
21
config :
18
22
import :
19
23
- optional:nacos:jeecg.yaml
20
- - optional:nacos:jeecg-dev .yaml
24
+ - optional:nacos:jeecg-@profile.name@ .yaml
Original file line number Diff line number Diff line change @@ -7,14 +7,18 @@ spring:
7
7
cloud :
8
8
nacos :
9
9
config :
10
- server-addr : localhost:8848
11
- # username: @config.username@
12
- # password: @config.password@
10
+ server-addr : @config.server-addr@
11
+ group : @config.group@
12
+ namespace : @config.namespace@
13
+ username : @config.username@
14
+ password : @config.password@
13
15
discovery :
14
16
server-addr : ${spring.cloud.nacos.config.server-addr}
15
- # username: @config.username@
16
- # password: @config.password@
17
+ group : @config.group@
18
+ namespace : @config.namespace@
19
+ username : @config.username@
20
+ password : @config.password@
17
21
config :
18
22
import :
19
23
- optional:nacos:jeecg.yaml
20
- - optional:nacos:jeecg-dev .yaml
24
+ - optional:nacos:jeecg-@profile.name@ .yaml
Original file line number Diff line number Diff line change 1
1
# mysql
2
2
diver_name =com.mysql.jdbc.Driver
3
- url =jdbc:mysql://172.16.10.227 :3306/jeecg-boot2 ?useUnicode=true&characterEncoding=UTF-8
3
+ url =jdbc:mysql://localhost :3306/jeecg-boot ?useUnicode=true&characterEncoding=UTF-8
4
4
username =root
5
- password =Whdsj@redis0523
6
- database_name =jeecg-boot2
5
+ password =root
6
+ database_name =jeecg-boot
7
7
8
8
# oracle
9
9
# diver_name=oracle.jdbc.driver.OracleDriver
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ spring:
19
19
cloud :
20
20
nacos :
21
21
discovery :
22
- server-addr : localhost:8848
22
+ server-addr : @config.server-addr@
23
23
metadata :
24
24
user.name : ${spring.security.user.name}
25
25
user.password : ${spring.security.user.password}
Original file line number Diff line number Diff line change 5
5
# 数据源配置
6
6
spring :
7
7
datasource :
8
- url : jdbc:mysql://172.16.10.227 :3306/xxl_job?Unicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
8
+ url : jdbc:mysql://jeecg-boot-mysql :3306/xxl_job?Unicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
9
9
username : ${MYSQL-USER:root}
10
- password : ${MYSQL-PWD:root@2023 }
10
+ password : ${MYSQL-PWD:root}
11
11
driver-class-name : com.mysql.jdbc.Driver
12
12
type : com.zaxxer.hikari.HikariDataSource
13
13
hikari :
You can’t perform that action at this time.
0 commit comments