From 85ebeda280e6c03b97a8e19d5ede8634e22f27a3 Mon Sep 17 00:00:00 2001 From: cardosofede Date: Fri, 5 May 2023 10:39:44 -0300 Subject: [PATCH] (feat) update bash scripts --- bash_scripts/hummingbot-create.sh | 16 ++++++++-------- bash_scripts/hummingbot-update.sh | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/bash_scripts/hummingbot-create.sh b/bash_scripts/hummingbot-create.sh index bd4e8d7..712583e 100755 --- a/bash_scripts/hummingbot-create.sh +++ b/bash_scripts/hummingbot-create.sh @@ -86,14 +86,14 @@ create_instance () { docker run -it --log-opt max-size=10m --log-opt max-file=5 \ --name $INSTANCE_NAME \ --network host \ - -v $CONF_FOLDER:/conf \ - -v $CONF_FOLDER/connectors:/conf/connectors \ - -v $CONF_FOLDER/strategies:/conf/strategies \ - -v $LOGS_FOLDER:/logs \ - -v $DATA_FOLDER:/data \ - -v $PMM_SCRIPTS_FOLDER:/pmm_scripts \ - -v $SCRIPTS_FOLDER:/scripts \ - -v $CERTS_FOLDER:/certs \ + -v $CONF_FOLDER:/home/hummingbot/conf \ + -v $CONF_FOLDER/connectors:/home/hummingbot/conf/connectors \ + -v $CONF_FOLDER/strategies:/home/hummingbot/conf/strategies \ + -v $LOGS_FOLDER:/home/hummingbot/logs \ + -v $DATA_FOLDER:/home/hummingbot/data \ + -v $PMM_SCRIPTS_FOLDER:/home/hummingbot/pmm_scripts \ + -v $SCRIPTS_FOLDER:/home/hummingbot/scripts \ + -v $CERTS_FOLDER:/home/hummingbot/certs \ hummingbot/hummingbot:$TAG } diff --git a/bash_scripts/hummingbot-update.sh b/bash_scripts/hummingbot-update.sh index c049892..79accda 100755 --- a/bash_scripts/hummingbot-update.sh +++ b/bash_scripts/hummingbot-update.sh @@ -105,14 +105,14 @@ execute_docker () { docker run -itd --log-opt max-size=10m --log-opt max-file=5 \ --network host \ --name ${INSTANCES[$j]} \ - -v ${FOLDERS[$j]}/conf:/conf \ - -v ${FOLDERS[$j]}/conf/connectors:/conf/connectors \ - -v ${FOLDERS[$j]}/conf/strategies:/conf/strategies \ - -v ${FOLDERS[$j]}/logs:/logs \ - -v ${FOLDERS[$j]}/data:/data \ - -v ${FOLDERS[$j]}/pmm-scripts:/pmm-scripts \ - -v ${FOLDERS[$j]}/scripts:/scripts \ - -v ${FOLDERS[$j]}/certs:/certs \ + -v ${FOLDERS[$j]}/conf:/home/hummingbot/conf \ + -v ${FOLDERS[$j]}/conf/connectors:/home/hummingbot/conf/connectors \ + -v ${FOLDERS[$j]}/conf/strategies:/home/hummingbot/conf/strategies \ + -v ${FOLDERS[$j]}/logs:/home/hummingbot/logs \ + -v ${FOLDERS[$j]}/data:/home/hummingbot/data \ + -v ${FOLDERS[$j]}/pmm-scripts:/home/hummingbot/pmm-scripts \ + -v ${FOLDERS[$j]}/scripts:/home/hummingbot/scripts \ + -v ${FOLDERS[$j]}/certs:/home/hummingbot/certs \ hummingbot/hummingbot:$TAG j=$[$j+1] # Update file ownership