mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 12:48:59 +08:00
59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
# Copyright 1999-2019 Seata.io Group.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
server:
|
|
port: 7091
|
|
|
|
spring:
|
|
application:
|
|
name: seata-server
|
|
|
|
logging:
|
|
config: classpath:logback-spring.xml
|
|
file:
|
|
path: ${log.home:${user.home}/logs/seata}
|
|
console:
|
|
user:
|
|
username: seata
|
|
password: seata
|
|
|
|
seata:
|
|
config:
|
|
# support: nacos, consul, apollo, zk, etcd3
|
|
type: nacos
|
|
nacos:
|
|
server-addr: 192.168.31.134:8848
|
|
namespace:
|
|
group: SEATA_GROUP
|
|
username: nacos
|
|
password: nacos
|
|
data-id: seataServer.properties
|
|
|
|
registry:
|
|
# support: nacos, eureka, redis, zk, consul, etcd3, sofa
|
|
type: nacos
|
|
nacos:
|
|
application: seata-server
|
|
server-addr: 192.168.31.134:8848
|
|
namespace:
|
|
group: SEATA_GROUP
|
|
# tc集群名称
|
|
cluster: default
|
|
username:
|
|
password:
|
|
security:
|
|
secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017
|
|
tokenValidityInMilliseconds: 1800000
|
|
ignore:
|
|
urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.jpeg,/**/*.ico,/api/v1/auth/login |