diff --git a/bin/remove_all_cts.sh b/bin/remove_all_cts.sh new file mode 100755 index 0000000..74ca7c8 --- /dev/null +++ b/bin/remove_all_cts.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +cts="lae lae_workers lae_worker lae_schedule lae_default_queue lae_cost_queue" + +docker stop "$cts" +docker rm "$cts" diff --git a/bin/start_cost_queue.sh b/bin/start_cost_queue.sh new file mode 100755 index 0000000..2896076 --- /dev/null +++ b/bin/start_cost_queue.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run -itd --name=lae_cost_queue --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art queue:work --queue=host-cost diff --git a/bin/start_default_queue.sh b/bin/start_default_queue.sh new file mode 100755 index 0000000..1bf4785 --- /dev/null +++ b/bin/start_default_queue.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run -itd --name=lae_default_queue --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art queue:work --queue=default diff --git a/bin/start_schedule.sh b/bin/start_schedule.sh new file mode 100755 index 0000000..4c3c551 --- /dev/null +++ b/bin/start_schedule.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run -itd --name=lae_schedule --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art schedule:work diff --git a/bin/start_web.sh b/bin/start_web.sh new file mode 100755 index 0000000..a9331dc --- /dev/null +++ b/bin/start_web.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run -itd --name=lae --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art works