Docker 常用启动

来自ling
跳转至: 导航搜索
docker stop nexus
docker stop kafka
docker stop kafkamanager
docker stop jenkins
docker stop oracle
docker stop gitlab

docker stop onlyoffice-community-server
docker stop onlyoffice-mail-server
docker stop onlyoffice-document-server

docker start onlyoffice-community-server
docker start onlyoffice-mail-server
docker start onlyoffice-document-server
 
git pull origin master --allow-unrelated-histories

启动ling-cloud

namespace 变化在jenkins中修改全局变量即可

docker restart  prd_ling-cloud-admin-biz_4000
docker restart  prd_ling-cloud-auth_3000
docker restart  prd_ling-cloud-file-biz_7000
docker restart  prd_ling-cloud-elasticsearch-biz_6200
docker restart  prd_ling-cloud-zy-biz_6300
docker restart  prd_ling-cloud-gateway_9999
docker restart  dev_ling-cloud-nacos_8848
docker stop prd_ling-cloud-admin-biz_4000
docker stop prd_ling-cloud-gateway_9999
docker stop prd_ling-cloud-auth_3000
docker stop prd_ling-cloud-file-biz_7000
docker stop prd_ling-cloud-elasticsearch-biz_6200
docker stop prd_ling-cloud-zy-biz_6300
 -e "logging.level.root=OFF"
docker run --name ling-cloud-redis --restart=always --network ling-cloud --network-alias ling-cloud-redis -v /alidata/dockerdata/redis/data:/data  -p 6379:6379 -d redis redis-server --appendonly yes --requirepass Wb19821010!
docker run --name ling-cloud-redis --restart=always --network ling-cloud --network-alias ling-cloud-redis -v /alidata/dockerdata/redis/data:/data  -d redis redis-server --appendonly yes


 docker exec -it ling-cloud-redis redis-cli -a Wb19821010!