From f710b70fff3154e4ae4b6467213242cb590ccf9a Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Wed, 8 Feb 2023 21:50:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=BF=AB=E6=8D=B7?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/remove_all_cts.sh | 6 ++++++ bin/start_cost_queue.sh | 3 +++ bin/start_default_queue.sh | 3 +++ bin/start_schedule.sh | 3 +++ bin/start_web.sh | 3 +++ 5 files changed, 18 insertions(+) create mode 100755 bin/remove_all_cts.sh create mode 100755 bin/start_cost_queue.sh create mode 100755 bin/start_default_queue.sh create mode 100755 bin/start_schedule.sh create mode 100755 bin/start_web.sh 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