-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstop.sh
executable file
·20 lines (19 loc) · 1.13 KB
/
stop.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
echo "Entering virtualenv"
source demo_platform/bin/activate
echo "Stopping all Docker processes and servers"
docker stop pro_tes_flower_1 || true && docker rm pro_tes_flower_1 || true
docker stop pro_tes_protes-worker_1 || true && docker rm pro_tes_protes-worker_1 || true
docker stop pro_tes_rabbitmq_1 || true && docker rm pro_tes_rabbitmq_1 || true
docker stop pro_tes_protes_1 || true && docker rm pro_tes_protes_1 || true
docker stop pro_tes_mongodb_1 || true && docker rm pro_tes_mongodb_1 || true
docker stop drs_mock-drs_1 || true && docker rm drs_mock-drs_1 || true
docker stop drs_mongo_1 || true && docker rm drs_mongo_1 || true
docker stop tes_tes-funnel_1 || true && docker rm tes_tes-funnel_1 || true
#killall -9 funnel
killall -9 wes
docker stop pro_wes_flower_1 || true && docker rm pro_wes_flower_1 || true
docker stop pro_wes_prowes-worker_1 || true && docker rm pro_wes_prowes-worker_1 || true
docker stop pro_wes_rabbitmq_1 || true && docker rm pro_wes_rabbitmq_1 || true
docker stop pro_wes_prowes_1 || true && docker rm pro_wes_prowes_1 || true
docker stop pro_wes_mongodb_1 || true && docker rm pro_wes_mongodb_1 || true