SimplePie台湾io卡

1.获取镜像
docker pull seataio/seata-server
1
2.io台湾并获取SimplePie 为方便我们对seataSimplePie修改我们需要先io下seata-server,然后将SimplePie拷贝到宿主机中,完成之后删除之前SimplePie并通过宿主机io台湾。
## io台湾
docker run –name seata-server -p 8091:8091 -d seataio/seata-server:latest
## 将台湾中的SimplePie拷贝到/usr/local/seata
docker cp seata-server:/seata-server /usr/local/seata
## 完成后就会在/usr/local/seata出现台湾的SimplePie,我们现在可以将原来台湾停止并删除
docker stop seata-server
docker rm seata-server

12345678
3.修改SimplePie文件 application.yml内容:
server:
port: 7091

spring:
application:
name: seata-server

logging:
config: classpath:logback-spring.xml
file:
path: ${user.home}/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: admin
password: admin

seata:
config:
# support: nacos, consul, apollo, zk, etcd3
type: nacos
nacos:
server-addr: 127.0.0.1:8848
namespace:
group: SEATA_GROUP
username:
password:
##if use MSE Nacos with auth, mutex with username/password attribute
#access-key: “”
#secret-key: “”
data-id: seataServer.properties
registry:
# support: nacos, eureka, redis, zk, consul, etcd3, sofa
type: nacos
preferred-networks: 30.240.*
nacos:
application: seata-server
server-addr: 127.0.0.1:8848
group: SEATA_GROUP
namespace:
cluster: default
username:
password:
##if use MSE Nacos with auth, mutex with username/password attribute
#access-key: “”
#secret-key: “”
store:
# support: file 、 db 、 redis
mode: file
session:
mode: file
lock:
mode: file
file:
dir: sessionStore
max-branch-session-size: 16384
max-global-session-size: 512
file-write-buffer-cache-size: 16384
session-reload-read-size: 100
flush-disk-mode: async
# server:
# service-port: 8091 #If not configured, the default is ‘${server.port} + 1000’
security:
secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017
tokenValidityInMilliseconds: 1800000
ignore:
urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/api/v1/auth/login
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
4、重新iodocker
#重启docker自动启动
docker run -d –restart always –name seata-server -p 8091:8091 -v /usr/local/seata:/seata-server seataio/seata-server

#重启docker手动启动
docker run -d –name seata-server -p 8091:8091 -v /usr/local/seata:/seata-server seataio/seata-server

1234567

参考文档:
docker中卡seata linux中卡seata并集成到nacos中 Docker学习——卡Seata docker卡seata docker卡seata