添加 快捷命令

This commit is contained in:
iVampireSP.com 2023-02-08 21:50:38 +08:00
parent a52a250031
commit f710b70fff
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
5 changed files with 18 additions and 0 deletions

6
bin/remove_all_cts.sh Executable file
View File

@ -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"

3
bin/start_cost_queue.sh Executable file
View File

@ -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

3
bin/start_default_queue.sh Executable file
View File

@ -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

3
bin/start_schedule.sh Executable file
View File

@ -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

3
bin/start_web.sh Executable file
View File

@ -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