server:
  port: 7091

spring:
  application:
    name: ruoyi-seata-server
  profiles:
    # 环境配置
    active: @profiles.active@

logging:
  config: classpath:logback-spring.xml
  file:
    path: ./logs/seata
#  extend:
#    logstash-appender:
#      destination: 127.0.0.1:4560
#    kafka-appender:
#      bootstrap-servers: 127.0.0.1:9092
#      topic: logback_to_logstash

console:
  user:
    username: seata
    password: seata

seata:
  config:
    # support: nacos 、 consul 、 apollo 、 zk  、 etcd3
    type: nacos
    nacos:
#      server-addr: ${NACOS_URL:22.167.137.1:30088}
      server-addr: ${NACOS_URL:127.0.0.1:8848}
      group: @nacos.discovery.group@
      namespace: ${RY_NAMESPACE:dev}
      username: @nacos.username@
      password: @nacos.password@
      ##if use MSE Nacos with auth, mutex with username/password attribute
      #access-key: ""
      #secret-key: ""
      data-id: seata-server.properties
  registry:
    # support: nacos 、 eureka 、 redis 、 zk  、 consul 、 etcd3 、 sofa
    type: nacos
    nacos:
      application: ${spring.application.name}
      server-addr: ${NACOS_URL:127.0.0.1:8848}
      group: @nacos.discovery.group@
      namespace: ${RY_NAMESPACE:dev}
      cluster: default
      username: @nacos.username@
      password: @nacos.password@
      ##if use MSE Nacos with auth, mutex with username/password attribute
      #access-key: ""
      #secret-key: ""
  security:
    secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017
    tokenValidityInMilliseconds: 1800000
    ignore:
      urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.jpeg,/**/*.ico,/api/v1/auth/login
