123456789101112131415161718192021222324252627282930313233 |
- ## NOTE
- echo "操作:构建调试" \
- && project_path="/home/sri/repositories/repositories/SRI-DINO.Server-py/sri-server-bg02" \
- && cd ${project_path} \
- && sudo docker-compose --file compose.yml down \
- && sudo docker-compose --file compose.yml up --detach --build \
- && sudo docker exec -it sri-server-bg02 bash
- echo "操作:启动调试环境" \
- && project_path="/home/sri/repositories/repositories/SRI-DINO.Server-py/sri-server-bg02" \
- && cd ${project_path} \
- && sudo docker-compose --file compose.yml down \
- && sudo docker-compose --file compose.yml up --detach \
- && sudo docker exec -it sri-server-bg02 bash
- echo "操作:重启调试环境" \
- && project_path="/home/sri/repositories/repositories/SRI-DINO.Server-py/sri-server-bg02" \
- && cd ${project_path} \
- && sudo docker-compose --file compose.yml restart \
- && sudo docker exec -it sri-server-bg02 bash
- echo "操作:进入调试环境" \
- && project_path="/home/sri/repositories/repositories/SRI-DINO.Server-py/sri-server-bg02" \
- && cd ${project_path} \
- && sudo docker exec -it sri-server-bg02 bash
- echo "操作:初装启动" \
- && project_path="/home/sri/repositories/repositories/SRI-DINO.Server-py/sri-server-bg02" \
- && cd ${project_path} \
- && sudo docker-compose --file compose.yml down \
- && sudo docker-compose --file compose.yml up --detach --build \
- && sudo docker-compose --file compose.yml logs --follow
|