//protoc指令
protoc --go_out=. *.proto
protoc --go-grpc_out=. *.proto
//部署yapi
yapi server
//启动yapi
cd docker-yapi/my-yapi/vendors/server
node
//自动
pm2 stop /root/docker-yapi/my-yapi/vendors/server/
pm2 start /root/docker-yapi/my-yapi/vendors/server/
//consul
docker run -d -p 8500:8500 -p 8300:8300 -p 8301:8301 -p 8302:8302 -p 8600:8600/udp consul consul agent -dev -client=0.0.0.0
//自动启动
docker container update --restart=always XXXXX
//nacos
docker run --name nacos-standalone -e MODE=standalone -e JVM_XMS=512m -e JVM_XMX=512m -e JVM_XMN=256m -p 8848:8848 -d nacos/nacos-server:latest
//mongoDB运行
//docker运行mongo shell
docker exec -it mymongo mongo