mirror of
https://github.com/d0zingcat/deploy.git
synced 2026-05-17 07:26:45 +00:00
(feat) deployment scenarios
This commit is contained in:
21
bash_scripts/hummingbot-start.sh
Normal file
21
bash_scripts/hummingbot-start.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# init
|
||||
# =============================================
|
||||
# SCRIPT COMMANDS
|
||||
echo
|
||||
echo "=============== START HUMMINGBOT INSTANCE ==============="
|
||||
echo
|
||||
echo "List of all docker instances:"
|
||||
echo
|
||||
docker ps -a
|
||||
echo
|
||||
echo
|
||||
read -p " Enter the NAME of the Hummingbot instance to start or connect to (default = \"hummingbot-instance\") >>> " INSTANCE_NAME
|
||||
if [ "$INSTANCE_NAME" == "" ]
|
||||
then
|
||||
INSTANCE_NAME="hummingbot-instance"
|
||||
fi
|
||||
echo
|
||||
# =============================================
|
||||
# EXECUTE SCRIPT
|
||||
docker start $INSTANCE_NAME && docker attach $INSTANCE_NAME
|
||||
Reference in New Issue
Block a user