docker安装seata-server

目录、ip自行调整,调整后,执行如下命令即可

docker run -d -p 8091:8091 -v /home/tool/server/seata-server-1.4.2/conf/registry.conf:/seata-server/resources/registry.conf -v /home/tool/server/seata-server-1.4.2/config/logback.xml:/seata-server/resources/logback.xml -v /home/tool/server/seata-server-1.4.2/logs:/root/logs -e SEATA_IP=你的ip -e SEATA_PORT=8091 --restart=always --name seata-8091 seataio/seata-server:1.4.2

end

posted @ 2024-03-08 12:13  xh_Blog  阅读(53)  评论(0编辑  收藏  举报