|
|
@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
base:
|
|
|
|
|
|
|
|
config:
|
|
|
|
|
|
|
|
mdb:
|
|
|
|
|
|
|
|
hostname: 127.0.0.1
|
|
|
|
|
|
|
|
dbname: seata
|
|
|
|
|
|
|
|
port: 3306
|
|
|
|
|
|
|
|
username: root
|
|
|
|
|
|
|
|
password: 123456
|
|
|
|
|
|
|
|
|
|
|
|
server:
|
|
|
|
server:
|
|
|
|
port: 7091
|
|
|
|
port: 7091
|
|
|
|
|
|
|
|
|
|
|
@ -27,8 +36,6 @@ seata:
|
|
|
|
type: nacos
|
|
|
|
type: nacos
|
|
|
|
nacos:
|
|
|
|
nacos:
|
|
|
|
server-addr: 127.0.0.1:8848
|
|
|
|
server-addr: 127.0.0.1:8848
|
|
|
|
namespace: a3f588d3-7be9-43d3-af7c-1e7919cf8af6
|
|
|
|
|
|
|
|
group: SEATA_GROUP
|
|
|
|
|
|
|
|
username: nacos
|
|
|
|
username: nacos
|
|
|
|
password: nacos
|
|
|
|
password: nacos
|
|
|
|
##if use MSE Nacos with auth, mutex with username/password attribute
|
|
|
|
##if use MSE Nacos with auth, mutex with username/password attribute
|
|
|
@ -42,8 +49,6 @@ seata:
|
|
|
|
nacos:
|
|
|
|
nacos:
|
|
|
|
application: seata-server
|
|
|
|
application: seata-server
|
|
|
|
server-addr: 127.0.0.1:8848
|
|
|
|
server-addr: 127.0.0.1:8848
|
|
|
|
group: SEATA_GROUP
|
|
|
|
|
|
|
|
namespace: a3f588d3-7be9-43d3-af7c-1e7919cf8af6
|
|
|
|
|
|
|
|
cluster: default
|
|
|
|
cluster: default
|
|
|
|
username: nacos
|
|
|
|
username: nacos
|
|
|
|
password: nacos
|
|
|
|
password: nacos
|
|
|
@ -65,9 +70,9 @@ seata:
|
|
|
|
datasource: druid
|
|
|
|
datasource: druid
|
|
|
|
db-type: mysql
|
|
|
|
db-type: mysql
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
|
url: jdbc:mysql://127.0.0.1:3306/seata?rewriteBatchedStatements=true
|
|
|
|
url: jdbc:mysql://${base.config.mdb.hostname}:${base.config.mdb.port}/${base.config.mdb.dbname}?rewriteBatchedStatements=true
|
|
|
|
user: root
|
|
|
|
user: ${base.config.mdb.username}
|
|
|
|
password: 123456
|
|
|
|
password: ${base.config.mdb.password}
|
|
|
|
min-conn: 5
|
|
|
|
min-conn: 5
|
|
|
|
max-conn: 100
|
|
|
|
max-conn: 100
|
|
|
|
global-table: global_table
|
|
|
|
global-table: global_table
|
|
|
@ -82,4 +87,4 @@ seata:
|
|
|
|
secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017
|
|
|
|
secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017
|
|
|
|
tokenValidityInMilliseconds: 1800000
|
|
|
|
tokenValidityInMilliseconds: 1800000
|
|
|
|
ignore:
|
|
|
|
ignore:
|
|
|
|
urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/api/v1/auth/login
|
|
|
|
urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/api/v1/auth/login
|
|
|
|